blog-deployment/docker-compose.yml
2024-11-11 05:35:05 +00:00

21 lines
361 B
YAML

version: '3'
services:
blog:
image: kasperhermansen/kasperhermansen-blog:1731303239
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:80
interval: 1m30s
timeout: 30s
retries: 3
start_period: 40s
labels:
logging: promtail
ports:
- 9080:80
- 9443:443
restart: always