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-04-22 10:14:25 +02:00
version: "3.8"
2020-01-22 07:49:26 +02:00
services:
scheduler:
image: daskdev/dask
command: ["dask-scheduler"]
ports:
- "8786:8786"
- "8787:8787"
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
2020-04-22 10:14:25 +02:00
worker:
image: daskdev/dask
command: ["dask-worker", "tcp://scheduler:8786"]
depends_on:
- scheduler
restart: unless-stopped