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