blog-deployment/docker-compose.yml

21 lines
361 B
YAML
Raw Normal View History

2023-04-02 22:55:50 +02:00
version: '3'
2023-04-02 21:37:24 +02:00
services:
blog:
2024-11-26 06:49:06 +01:00
image: kasperhermansen/kasperhermansen-blog:1732600055
healthcheck:
2023-04-09 12:29:41 +02:00
test:
- CMD
- curl
- -f
- http://localhost:80
interval: 1m30s
timeout: 30s
retries: 3
start_period: 40s
2023-07-11 12:10:21 +02:00
labels:
logging: promtail
2023-04-09 12:29:41 +02:00
ports:
- 9080:80
- 9443:443
restart: always