2016-12-01 15:39:42 +00:00
|
|
|
# This configuration does not include a processing node
|
|
|
|
# Which makes for faster setup times
|
2018-04-05 14:51:14 +00:00
|
|
|
version: '2.1'
|
2017-03-08 14:55:19 +00:00
|
|
|
volumes:
|
|
|
|
dbdata:
|
|
|
|
appmedia:
|
2016-09-11 23:52:31 +00:00
|
|
|
services:
|
|
|
|
db:
|
2017-06-16 15:21:12 +00:00
|
|
|
image: opendronemap/webodm_db
|
2016-09-11 23:52:31 +00:00
|
|
|
container_name: db
|
2023-05-03 16:10:39 +00:00
|
|
|
expose:
|
2017-03-08 14:55:19 +00:00
|
|
|
- "5432"
|
|
|
|
volumes:
|
2023-04-02 06:41:02 +00:00
|
|
|
- ${WO_DB_DIR}:/var/lib/postgresql/data:Z
|
2019-12-04 23:08:57 +00:00
|
|
|
restart: unless-stopped
|
2018-04-22 18:49:20 +00:00
|
|
|
oom_score_adj: -100
|
2016-09-11 23:52:31 +00:00
|
|
|
webapp:
|
2017-06-16 15:21:12 +00:00
|
|
|
image: opendronemap/webodm_webapp
|
2016-09-11 23:52:31 +00:00
|
|
|
container_name: webapp
|
2018-06-27 01:08:59 +00:00
|
|
|
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\""
|
2016-09-11 23:52:31 +00:00
|
|
|
volumes:
|
2020-01-30 21:06:38 +00:00
|
|
|
- ${WO_MEDIA_DIR}:/webodm/app/media:z
|
2016-09-11 23:52:31 +00:00
|
|
|
ports:
|
2017-11-17 19:43:06 +00:00
|
|
|
- "${WO_PORT}:8000"
|
2016-09-11 23:52:31 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
2018-02-14 00:38:54 +00:00
|
|
|
- broker
|
2018-02-16 15:43:53 +00:00
|
|
|
- worker
|
2017-11-17 00:19:19 +00:00
|
|
|
environment:
|
2017-11-17 19:56:24 +00:00
|
|
|
- WO_PORT
|
|
|
|
- WO_HOST
|
2017-11-18 15:55:22 +00:00
|
|
|
- WO_DEBUG
|
2018-02-17 17:45:09 +00:00
|
|
|
- WO_BROKER
|
2019-07-01 16:02:31 +00:00
|
|
|
- WO_DEV
|
2021-08-04 20:20:51 +00:00
|
|
|
- WO_DEV_WATCH_PLUGINS
|
2023-09-16 17:46:15 +00:00
|
|
|
- WO_SECRET_KEY
|
2019-12-04 23:08:57 +00:00
|
|
|
restart: unless-stopped
|
2018-04-22 18:49:20 +00:00
|
|
|
oom_score_adj: 0
|
2018-02-14 00:38:54 +00:00
|
|
|
broker:
|
2023-09-04 15:06:27 +00:00
|
|
|
image: redis:7.0.10
|
2018-02-14 00:38:54 +00:00
|
|
|
container_name: broker
|
2019-12-04 23:08:57 +00:00
|
|
|
restart: unless-stopped
|
2018-04-22 18:49:20 +00:00
|
|
|
oom_score_adj: -500
|
2018-02-14 00:38:54 +00:00
|
|
|
worker:
|
2018-02-17 17:45:09 +00:00
|
|
|
image: opendronemap/webodm_webapp
|
2018-02-14 00:38:54 +00:00
|
|
|
container_name: worker
|
2018-06-27 01:08:59 +00:00
|
|
|
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 webapp:8000 -- /webodm/worker.sh start"
|
2018-02-15 21:23:29 +00:00
|
|
|
volumes:
|
2020-01-30 21:06:38 +00:00
|
|
|
- ${WO_MEDIA_DIR}:/webodm/app/media:z
|
2018-02-14 00:38:54 +00:00
|
|
|
depends_on:
|
2018-02-17 17:45:09 +00:00
|
|
|
- db
|
2018-02-14 00:38:54 +00:00
|
|
|
- broker
|
2018-02-14 22:13:32 +00:00
|
|
|
environment:
|
|
|
|
- WO_BROKER
|
2018-02-17 17:45:09 +00:00
|
|
|
- WO_DEBUG
|
2023-09-16 17:46:15 +00:00
|
|
|
- WO_SECRET_KEY
|
2019-12-04 23:08:57 +00:00
|
|
|
restart: unless-stopped
|
2018-04-22 18:49:20 +00:00
|
|
|
oom_score_adj: 250
|