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
|