Cambiar variables GITEA_* a GIT_* para evitar conflicto con reservadas
All checks were successful
build-and-deploy / build (push) Successful in 11s
build-and-deploy / deploy (push) Successful in 3s

Las variables que empiezan con GITEA_ o GITHUB_ están prohibidas
en Gitea Actions por el patrón de validación. Renombradas a:
- GITEA_URL -> GIT_URL
- GITEA_DOMAIN -> GIT_DOMAIN
- GITEA_TOKEN -> GIT_TOKEN

Actualizados: index.ts, docker-compose.yml, workflow, .env.example
This commit is contained in:
2025-10-14 00:29:02 -06:00
parent 4311f54184
commit b25b52199e
4 changed files with 13 additions and 12 deletions

View File

@@ -86,8 +86,8 @@ services:
restart: unless-stopped
environment:
- PORT=3000
- GITEA_URL=${GITEA_URL}
- GITEA_TOKEN=${GITEA_TOKEN}
- GIT_URL=${GIT_URL}
- GIT_TOKEN=${GIT_TOKEN}
networks:
- principal
- traefik-network
@@ -100,7 +100,7 @@ services:
- "traefik.http.services.${APP_NAME}-mcp-gitea.loadbalancer.server.port=3000"
# Router sin autenticación para /mcp en gitea.nucleoriofrio.com
- "traefik.http.routers.${APP_NAME}-mcp-gitea.rule=Host(`${GITEA_DOMAIN}`) && PathPrefix(`/mcp`)"
- "traefik.http.routers.${APP_NAME}-mcp-gitea.rule=Host(`${GIT_DOMAIN}`) && PathPrefix(`/mcp`)"
- "traefik.http.routers.${APP_NAME}-mcp-gitea.entrypoints=websecure"
- "traefik.http.routers.${APP_NAME}-mcp-gitea.tls.certresolver=letsencrypt"
- "traefik.http.routers.${APP_NAME}-mcp-gitea.priority=200"