This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user