This commit is contained in:
Brieuc Dubois 2024-01-19 13:38:55 +01:00
parent 8148b3aef7
commit 96cc43ed2d
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
services:
blog:
container_name: blog
image: git.bhasher.com/bhasher/blog:latest
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.blog.rule=Host(`blog.bhasher.com`)"
- "traefik.http.routers.blog.entrypoints=internalsecure"
- "traefik.http.services.blog.loadbalancer.server.port=80"
- "traefik.http.routers.blog.tls=true"
- "traefik.http.routers.blog.tls.certresolver=http"
- "com.centurylinklabs.watchtower.enable=true"
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 60s
start_period: 20s
start_interval: 5s
timeout: 10s
retries: 3
networks:
- external