feat: with health checks and always restart
This commit is contained in:
parent
502e4294f2
commit
795e6a9a7f
@ -2,6 +2,13 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
blog:
|
blog:
|
||||||
image: kasperhermansen/kasperhermansen-blog:1680866633
|
image: kasperhermansen/kasperhermansen-blog:1680866633
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9080:80
|
- 9080:80
|
||||||
- 9443:443
|
- 9443:443
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||||
|
interval: 1m30s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 3
|
||||||
|
start_period: 40s
|
||||||
|
Loading…
Reference in New Issue
Block a user