Add docker-compose configuration for Jupyter and Nginx services
This commit is contained in:
17
jupyter/docker-compose.yml
Normal file
17
jupyter/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
jupyter:
|
||||||
|
image: jupyter/datascience-notebook
|
||||||
|
environment:
|
||||||
|
- PASSWORD=${PASSWORD}
|
||||||
|
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
image: nginx
|
||||||
|
links:
|
||||||
|
- jupyter
|
||||||
|
volumes:
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
- ./letsencrypt.crt:/data/cert.crt
|
||||||
|
- /letsencrypt.key:/data/key.key
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
Reference in New Issue
Block a user