update: docker-compose

This commit is contained in:
Kasper Juul Hermansen 2023-04-09 10:29:41 +00:00
parent 795e6a9a7f
commit a9f4a0a542

View File

@ -1,14 +1,18 @@
version: '3'
services:
blog:
image: kasperhermansen/kasperhermansen-blog:1680866633
restart: always
ports:
- 9080:80
- 9443:443
image: kasperhermansen/kasperhermansen-blog:1681036097
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
test:
- CMD
- curl
- -f
- http://localhost:80
interval: 1m30s
timeout: 30s
retries: 3
start_period: 40s
ports:
- 9080:80
- 9443:443
restart: always