-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.webodm.yml
59 lines (58 loc) · 1.54 KB
/
docker-compose.webodm.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
54
55
56
57
58
59
services:
db:
image: opendronemap/webodm_db
container_name: argus_db
expose:
- 5432
volumes:
- ${ARGUS_DB}:/var/lib/postgresql/data:Z
restart: unless-stopped
oom_score_adj: -100
webodm:
image: opendronemap/webodm_webapp
container_name: argus_webodm
entrypoint: /bin/bash -c "chmod +x /webodm/*.sh && /bin/bash -c \"/webodm/wait-for-postgres.sh db /webodm/wait-for-it.sh -t 0 broker:6379 -- /webodm/start.sh\""
volumes:
- ${ARGUS_MEDIA}:/webodm/app/media:z
- ./webodm_settings.py:/webodm/webodm/settings_override.py:ro
expose:
- 8000
ports:
- ${ARGUS_WEBODM_PORT}:8000
links:
- nodeodm
depends_on:
- db
- broker
- worker
- nodeodm
environment:
- WO_HOST=localhost
- WO_PORT=${ARGUS_WEBODM_PORT}
- WO_BROKER=redis://broker
- WO_DEBUG=NO
- WO_DEV=NO
restart: unless-stopped
oom_score_adj: 0
broker:
image: redis:7.0.10
container_name: argus_broker
restart: unless-stopped
oom_score_adj: -500
worker:
image: opendronemap/webodm_webapp
container_name: argus_worker
entrypoint: /bin/bash -c "/webodm/wait-for-postgres.sh db /webodm/wait-for-it.sh -t 0 broker:6379 -- /webodm/wait-for-it.sh -t 0 webodm:8000 -- /webodm/worker.sh start"
volumes:
- ${ARGUS_MEDIA}:/webodm/app/media:z
depends_on:
- db
- broker
environment:
- WO_BROKER=redis://broker
- WO_DEBUG=NO
restart: unless-stopped
oom_score_adj: 250
volumes:
db:
media: