- Use github.repository_owner in workflow - Image format: REGISTRY_URL/owner/APP_NAME:latest - Works automatically with Gitea registry - Template-friendly: forks use their own owner - Update documentation with new format
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
# ===========================================
|
|
# Ejemplo de variables de entorno
|
|
# ===========================================
|
|
# Copia este archivo y configura los valores según tu entorno
|
|
#
|
|
# Para desarrollo local: copia a .env
|
|
# Para Gitea Actions: configura en Settings > Actions > Variables/Secrets
|
|
|
|
# ===========================================
|
|
# REGISTRY & DEPLOYMENT
|
|
# ===========================================
|
|
# URL del registro Docker (sin http:// ni https://)
|
|
# Para registry de Gitea: gitea.ejemplo.com
|
|
# El owner del repositorio se agrega automáticamente en el workflow
|
|
# Imagen final: REGISTRY_URL/owner/APP_NAME:latest
|
|
REGISTRY_URL=gitea.ejemplo.com
|
|
|
|
# Nombre de la aplicación (usado para container, imagen, y labels de Traefik)
|
|
APP_NAME=mi-app
|
|
|
|
# Dominio donde se desplegará la aplicación
|
|
APP_DOMAIN=miapp.ejemplo.com
|
|
|
|
# ===========================================
|
|
# APPLICATION
|
|
# ===========================================
|
|
# URL pública de la aplicación
|
|
NUXT_PUBLIC_APP_URL=https://miapp.ejemplo.com
|
|
|
|
# ===========================================
|
|
# REGISTRY AUTHENTICATION (solo para CI/CD)
|
|
# ===========================================
|
|
# Usuario del registro Docker (SECRETO)
|
|
REGISTRY_USERNAME=mi-usuario
|
|
|
|
# Contraseña del registro Docker (SECRETO)
|
|
REGISTRY_PASSWORD=mi-password-secreto
|
|
|
|
# ===========================================
|
|
# AUTHENTIK PROXY OUTPOST
|
|
# ===========================================
|
|
# 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
|
|
#
|
|
# La aplicación Nuxt recibirá estos headers automáticamente:
|
|
# - X-authentik-username: nombre de usuario
|
|
# - X-authentik-email: email del usuario
|
|
# - X-authentik-name: nombre completo
|
|
# - X-authentik-groups: grupos del usuario (separados por |)
|
|
# - X-authentik-uid: ID único del usuario
|