mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
34 lines
721 B
YAML
34 lines
721 B
YAML
version: "3.8"
|
|
|
|
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
|
|
|
|
worker:
|
|
image: daskdev/dask
|
|
command: ["dask-worker", "tcp://scheduler:8786"]
|
|
depends_on:
|
|
- scheduler
|
|
restart: unless-stopped
|