infra: ensure containers restart if docker restarts

This commit is contained in:
Marc 2023-04-05 13:46:17 -04:00
parent e3c5ed7989
commit b6d5016880
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@ version: "3.7"
services: services:
monolith: monolith:
restart: always
build: . build: .
ports: ports:
- "8000:8000" - "8000:8000"

View file

@ -2,6 +2,7 @@ version: '3.7'
services: services:
traefik: traefik:
restart: always
image: traefik:v2.9 image: traefik:v2.9
ports: ports:
- "80:80" - "80:80"