infra: ensure containers restart if docker restarts
This commit is contained in:
parent
e3c5ed7989
commit
b6d5016880
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ version: "3.7"
|
|||
|
||||
services:
|
||||
monolith:
|
||||
restart: always
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
|
|
@ -2,6 +2,7 @@ version: '3.7'
|
|||
|
||||
services:
|
||||
traefik:
|
||||
restart: always
|
||||
image: traefik:v2.9
|
||||
ports:
|
||||
- "80:80"
|
||||
|
|
Reference in a new issue