Skip to content

Instantly share code, notes, and snippets.

@calvingiles
Last active May 26, 2016 07:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calvingiles/b6123c301954fe68e29a to your computer and use it in GitHub Desktop.
Save calvingiles/b6123c301954fe68e29a to your computer and use it in GitHub Desktop.
fig.yml for setting up a data science environment
notebooks:
command: echo created
image: busybox
volumes:
- "~/Google Drive/notebooks:/notebooks"
data:
command: echo created
image: busybox
volumes:
- "~/Google Drive/data:/data"
devpostgresdata:
command: echo created
image: busybox
volumes:
- /var/lib/postgresql/data
devpostgres:
environment:
- POSTRGES_PASSWORD
image: postgres
ports:
- "5433:5432"
volumes_from:
- devpostgresdata
notebook:
environment:
- PASSWORD
image: calvingiles/data-science-environment
links:
- devpostgres:postgres
ports:
- "443:8888"
volumes_from:
- notebooks
- data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment