Guest User

Untitled

a guest
Jul 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. version: "3"
  2. services:
  3. web:
  4. image: continuumio/anaconda3
  5. ports:
  6. - 8889:8888
  7. volumes:
  8. - $PWD/workdir/:/workdir
  9. depends_on:
  10. - mongodb
  11. command: /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/workdir --ip='*' --port=8888 --no-browser --allow-root"
  12. mongodb:
  13. image: registry.docker-cn.com/library/mongo:3.6
  14. volumes:
  15. - $PWD/db_data:/data/db
Add Comment
Please, Sign In to add comment