Modified docker-compose.yml to allow restarting after system reboot.
This commit is contained in:
parent
174a36f824
commit
571e2f90c7
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
covidbot:
|
covidbot:
|
||||||
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -18,6 +19,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
BOT_CONFIG_PATH: config/config.json
|
BOT_CONFIG_PATH: config/config.json
|
||||||
covidreport:
|
covidreport:
|
||||||
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile_report
|
dockerfile: Dockerfile_report
|
||||||
|
@ -34,6 +36,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
BOT_CONFIG_PATH: config/config.json
|
BOT_CONFIG_PATH: config/config.json
|
||||||
postgres:
|
postgres:
|
||||||
|
restart: always
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
|
Reference in a new issue