traefik + authentik labels
All checks were successful
build-and-deploy / build (push) Successful in 1m0s
build-and-deploy / deploy (push) Successful in 4s

This commit is contained in:
2025-10-11 13:35:09 -06:00
parent e3e7374096
commit 36c1844cbd

View File

@@ -12,6 +12,20 @@ services:
- NUXT_PORT=3000
networks:
- principal
labels:
# Habilitar Traefik
- "traefik.enable=true"
# Router
- "traefik.http.routers.musica-nucleoriofrio.rule=Host(`musica.nucleoriofrio.com`)"
- "traefik.http.routers.musica-nucleoriofrio.entrypoints=websecure"
- "traefik.http.routers.musica-nucleoriofrio.tls.certresolver=letsencrypt"
# Middlewares: Authentik + headers + body-size
- "traefik.http.routers.musica-nucleoriofrio.middlewares=authentik-forward-auth@file,musica-headers@file,musica-body-size@file"
# Service
- "traefik.http.services.musica-nucleoriofrio-service.loadbalancer.server.port=3000"
networks:
principal: