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:
|
services:
|
||||||
monolith:
|
monolith:
|
||||||
|
restart: always
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Reference in a new issue