Merge pull request #759 from olivierdalang/fix-container-restart

[docker] fix #758 (containers not restarting on host reboot)
pull/763/head
Piero Toffanin 2019-12-04 19:07:00 -05:00 zatwierdzone przez GitHub
commit f43927b37f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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