2016-12-01 15:39:42 +00:00
|
|
|
# Chaining this file to the main docker-compose file adds
|
|
|
|
# a default processing node instance. This is best for users
|
|
|
|
# who are just getting started with WebODM.
|
|
|
|
|
2018-04-05 14:51:14 +00:00
|
|
|
version: '2.1'
|
2016-12-01 15:39:42 +00:00
|
|
|
services:
|
|
|
|
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 --create-default-pnode\""
|
2017-01-21 17:50:53 +00:00
|
|
|
depends_on:
|
|
|
|
- node-odm-1
|
2016-12-01 15:39:42 +00:00
|
|
|
node-odm-1:
|
2018-12-04 15:02:13 +00:00
|
|
|
image: opendronemap/nodeodm
|
2016-12-01 15:39:42 +00:00
|
|
|
container_name: node-odm-1
|
|
|
|
ports:
|
|
|
|
- "3000"
|
2018-04-19 18:45:33 +00:00
|
|
|
restart: on-failure:10
|
2018-04-22 18:49:20 +00:00
|
|
|
oom_score_adj: 500
|