Modified docker-compose.yml to allow restarting after system reboot.

This commit is contained in:
Alex Huddleston 2020-04-04 19:35:27 -05:00
parent 174a36f824
commit 571e2f90c7

View file

@ -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