fix: remove traefik tag for dynamic conf

This commit is contained in:
kinou-p 2025-12-26 17:00:25 +01:00
parent 6e7f3224f5
commit 5cdb880f16

View File

@ -9,18 +9,6 @@ services:
container_name: portfolio-website container_name: portfolio-website
networks: networks:
- portfolio - portfolio
labels:
- "traefik.enable=true"
# Configuration HTTPS
- "traefik.http.routers.portfolio-website.rule=Host(`alexandre-pommier.com`)"
- "traefik.http.routers.portfolio-website.entrypoints=https"
- "traefik.http.routers.portfolio-website.tls=true"
- "traefik.http.services.portfolio-website.loadbalancer.server.port=80"
- "traefik.http.routers.portfolio-website.middlewares=hstsHeader"
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80"] test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80"]
interval: 30s interval: 30s
@ -30,5 +18,4 @@ services:
networks: networks:
portfolio: portfolio:
external: true external: true