[docker] fix #758 (container not restarting on host reboot)

pull/759/head
olivierdalang 2019-12-05 00:08:57 +01:00
rodzic dfbe7a7e4a
commit 62d193dd70
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -14,5 +14,5 @@ services:
container_name: node-micmac-1
ports:
- "3000"
restart: on-failure:10
restart: unless-stopped
oom_score_adj: 500

Wyświetl plik

@ -13,5 +13,5 @@ services:
image: opendronemap/nodeodm
ports:
- "3000"
restart: on-failure:10
restart: unless-stopped
oom_score_adj: 500

Wyświetl plik

@ -12,7 +12,7 @@ services:
- "5432"
volumes:
- dbdata:/var/lib/postgresql/data
restart: on-failure:10
restart: unless-stopped
oom_score_adj: -100
webapp:
image: opendronemap/webodm_webapp
@ -32,12 +32,12 @@ services:
- WO_DEBUG
- WO_BROKER
- WO_DEV
restart: on-failure:10
restart: unless-stopped
oom_score_adj: 0
broker:
image: redis
container_name: broker
restart: on-failure:10
restart: unless-stopped
oom_score_adj: -500
worker:
image: opendronemap/webodm_webapp
@ -51,5 +51,5 @@ services:
environment:
- WO_BROKER
- WO_DEBUG
restart: on-failure:10
restart: unless-stopped
oom_score_adj: 250