1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/dask/docker-compose.yml

34 lines
721 B
YAML
Raw Normal View History

2020-01-22 07:49:26 +02:00
version: "3.7"
services:
scheduler:
image: daskdev/dask
command: ["dask-scheduler"]
ports:
- "8786:8786"
- "8787:8787"
restart: unless-stopped
worker:
image: daskdev/dask
command: ["dask-worker", "tcp://scheduler:8786"]
depends_on:
- scheduler
restart: unless-stopped
notebook:
image: daskdev/dask-notebook
ports:
- "8888:8888"
volumes:
- ./data/jupyter:/home/jovyan/.jupyter
- ./data/work:/home/jovyan/work
- /opt/conda/lib/python3.7/site-packages
environment:
- DASK_SCHEDULER_ADDRESS=tcp://scheduler:8786
- EXTRA_PIP_PACKAGES=dateparser parsel
depends_on:
- scheduler
restart: unless-stopped