Fix: Usar variable MESH_AGENTS_DOMAIN para TCP passthrough
All checks were successful
deploy-meshcentral / deploy (push) Successful in 13s

- Corregir sintaxis del label TCP que causaba error de interpolación
- Agregar variable MESH_AGENTS_DOMAIN al workflow
- Reemplazar bash parameter expansion por variable de entorno estándar
This commit is contained in:
2025-11-01 01:29:36 -06:00
parent 2700def7b6
commit 0a79fc7884
2 changed files with 2 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ services:
# y verán el certificado SSL de MeshCentral (no el de Traefik)
# TCP Router - SNI routing para subdominio de agentes
- "traefik.tcp.routers.${APP_NAME}-agents-tcp.rule=HostSNI(`mesh-agents.${APP_DOMAIN#*.}`)"
- "traefik.tcp.routers.${APP_NAME}-agents-tcp.rule=HostSNI(`${MESH_AGENTS_DOMAIN}`)"
- "traefik.tcp.routers.${APP_NAME}-agents-tcp.entrypoints=websecure"
- "traefik.tcp.routers.${APP_NAME}-agents-tcp.tls.passthrough=true"
- "traefik.tcp.routers.${APP_NAME}-agents-tcp.service=${APP_NAME}-tcp"