Fix Traefik network and Authentik middleware configuration
All checks were successful
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 2s

- Add traefik-network to container networks (CRITICAL FIX)
- Change middleware to authentik-forward-auth@file
- Update traefik.docker.network to traefik-network
- Document network requirements
- Update Authentik configuration instructions
This commit is contained in:
2025-10-12 22:39:49 -06:00
parent 0f7abc6d48
commit fc46ae7a53
3 changed files with 28 additions and 12 deletions

View File

@@ -42,10 +42,11 @@ REGISTRY_PASSWORD=mi-password-secreto
# Esta plantilla usa Authentik Proxy Outpost para autenticación.
# NO se requiere configuración OAuth en la aplicación.
#
# Asegúrate de:
# 1. Tener un Proxy Outpost de Authentik configurado en Traefik
# 2. Actualizar el middleware en docker-compose.yml con el nombre correcto de tu outpost
# 3. Configurar la aplicación en Authentik para este dominio
# Requisitos:
# 1. Red 'traefik-network' creada: docker network create traefik-network
# 2. Middleware 'authentik-forward-auth' configurado en Traefik (ej: dynamic/middlewares.yml)
# 3. Proxy Provider de tipo Forward Auth en Authentik
# 4. Aplicación configurada en Authentik para el dominio APP_DOMAIN
#
# La aplicación Nuxt recibirá estos headers automáticamente:
# - X-authentik-username: nombre de usuario