From 61d8908daa059333952071c7bdcab9fe37faf33d Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 17 Oct 2025 05:16:18 -0600 Subject: [PATCH] fix 2 --- docker-compose.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e9322ad..6a39ad6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,8 +20,10 @@ - PGUSER=radius - PGPASSWORD=radius networks: - - principal - - radiusnucleo_radius_net + principal: + radiusnucleo_radius_net: + aliases: + - node labels: # Habilitar Traefik - "traefik.enable=true" @@ -34,7 +36,7 @@ - "traefik.http.services.wifi-nucleoriofrio-service.loadbalancer.serverstransport=wifi-transport@file" # Router 1: Público (assets estáticos, manifest, icons) - SIN autenticación - ALTA PRIORIDAD - - "traefik.http.routers.wifi-nucleoriofrio-public.rule=Host(`wifi.nucleoriofrio.com`) && (PathPrefix(`/assets`) || PathPrefix(`/.well-known`) || PathPrefix(`/icons`) || Path(`/manifest.webmanifest`) ||Path(`/favicon.ico`) || Path(`/vite.svg`))" + - "traefik.http.routers.wifi-nucleoriofrio-public.rule=Host(`wifi.nucleoriofrio.com`) && (PathPrefix(`/assets`) || PathPrefix(`/.well-known`) || PathPrefix(`/icons`) || Path(`/manifest.webmanifest`) || Path(`/favicon.ico`) || Path(`/vite.svg`))" - "traefik.http.routers.wifi-nucleoriofrio-public.entrypoints=websecure" - "traefik.http.routers.wifi-nucleoriofrio-public.tls.certresolver=letsencrypt" - "traefik.http.routers.wifi-nucleoriofrio-public.service=wifi-nucleoriofrio-service" @@ -91,4 +93,4 @@ external: true volumes: - postgres_data: + postgres_data: \ No newline at end of file