Created
September 21, 2016 22:31
-
-
Save tomfaulhaber/bb3865ab174dd0587e2ef2d3a2caeb0b to your computer and use it in GitHub Desktop.
Docker compose file for OpenNEX access plus notebooks (use "docker-compose up")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
opennex: | |
image: planetos/opennex-access | |
environment: | |
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} | |
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} | |
CONFIG_DATA: "{ \"version\":2, \"config_source\": \"http://opennex.planetos.com/datasets\" }" | |
OPENNEX_PORT: "80" | |
rstudio: | |
image: rocker/hadleyverse | |
links: | |
- opennex | |
ports: | |
- "8787:8787" | |
volumes: | |
- ./notebooks:/home/rstudio | |
jupyter: | |
image: jupyter/scipy-notebook | |
links: | |
- opennex | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/home/jovyan/work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put a
notebooks
directory in the same directory as the docker-compose.yml file and all the files in that directory will be available to the RStudio and Jupyter sessions that you create. The Jupyter session doesn't require a password. For the rstudio session, userstudio
/rstudio