-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (69 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
74 lines (69 loc) · 1.47 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
db:
image: mongo:4.2.7-bionic
networks:
- backend
environment:
- MONGO_INITDB_ROOT_USERNAME=mhub
- MONGO_INITDB_ROOT_PASSWORD=uu9ieTh1
# https://github.com/docker-library/mongo/issues/329
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js
volumes:
- db-data:/data/db
command: [ "--bind_ip_all" ]
server:
image: ghcr.io/mapchete/mapchete:2026.2.2
depends_on:
- dask_scheduler
- db
environment:
- MHUB_DASK_SCHEDULER_URL=tcp://dask_scheduler:8786
- MHUB_MONGODB_URL=mongodb://mhub:uu9ieTh1@db:27017
ports:
- ${MHUB_PORT:-5000}:${MHUB_PORT:-5000}
networks:
- backend
- frontend
command:
[
"mhub-server",
"start",
"--host",
"0.0.0.0",
"--port",
"${MHUB_PORT:-5000}",
"--log-level",
"debug"
]
dask_scheduler:
image: ghcr.io/mapchete/mapchete:2026.2.2
networks:
- backend
command:
[
"dask", "scheduler",
"--host",
"dask_scheduler",
"--port",
"8786"
]
dask_worker:
image: ghcr.io/mapchete/mapchete:2026.2.2
depends_on:
- dask_scheduler
networks:
- backend
command:
[
"dask", "worker",
"--nthreads",
"2",
"--nworkers",
"8",
"tcp://dask_scheduler:8786"
]
volumes:
db-data: null
networks:
backend: null
frontend: null