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"
|
||||
services:
|
||||
covidbot:
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
@ -18,6 +19,7 @@ services:
|
|||
environment:
|
||||
BOT_CONFIG_PATH: config/config.json
|
||||
covidreport:
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile_report
|
||||
|
@ -34,6 +36,7 @@ services:
|
|||
environment:
|
||||
BOT_CONFIG_PATH: config/config.json
|
||||
postgres:
|
||||
restart: always
|
||||
image: postgres:alpine
|
||||
networks:
|
||||
- net
|
||||
|
|
Reference in a new issue