-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
53 lines (44 loc) · 961 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3.1"
services:
# Images
base:
build:
context: ./base
dockerfile: Dockerfile
image: mnetools/mne-python
jupyter:
depends_on:
- base
build:
context: ./base
dockerfile: Dockerfile.jupyter
image: mnetools/mne-python-jupyter
plot:
depends_on:
- jupyter
build:
context: ./base
dockerfile: Dockerfile.plot
image: mnetools/mne-python-plot
# Dask
scheduler:
depends_on:
- base
image: mnetools/mne-python
hostname: mne-dask-scheduler
ports:
- "8786:8786"
- "8787:8787"
command: ["dask-scheduler"]
worker:
depends_on:
- base
image: mnetools/mne-python
hostname: mne-dask-worker
command: ["dask-worker", "tcp://scheduler:8786"]
worker-plot:
depends_on:
- plot
image: mnetools/mne-python-plot
hostname: mne-dask-worker-plot
command: ["dask-worker", "tcp://scheduler:8786"]