OpenDroneMap-WebODM/docker-compose.yml

28 wiersze
630 B
YAML
Czysty Zwykły widok Historia

# This configuration does not include a processing node
# Which makes for faster setup times
2016-09-11 23:52:31 +00:00
version: '2'
volumes:
dbdata:
driver: local
appmedia:
driver: local
2016-09-11 23:52:31 +00:00
services:
db:
build: ./db
container_name: db
ports:
- "5432"
volumes:
- dbdata:/var/lib/postgresql
2016-09-11 23:52:31 +00:00
webapp:
build: .
container_name: webapp
entrypoint: /bin/bash -c "chmod +x /webodm/*.sh && /webodm/wait-for-it.sh db:5432 -- /webodm/start.sh"
2016-09-11 23:52:31 +00:00
volumes:
- appmedia:/webodm/app/media
- /webodm/app/static/app/bundles
2016-09-11 23:52:31 +00:00
ports:
- "8000:8000"
depends_on:
- db
restart: on-failure:10