Initial commit: Infraestructura OgnirNAS estabilizada
This commit is contained in:
53
traefik/traefik.yml
Executable file
53
traefik/traefik.yml
Executable file
@@ -0,0 +1,53 @@
|
||||
# ==============================================================================
|
||||
# CONFIGURACIÓN ESTÁTICA - MIGRACIÓN DESDE COMMANDS
|
||||
# ==============================================================================
|
||||
|
||||
global:
|
||||
checkNewVersion: false
|
||||
sendAnonymousUsage: false
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
insecure: true # Mantiene puerto 8080 para debug y healthcheck
|
||||
|
||||
# Recuperado del original: Necesario para el Healthcheck del Docker-compose
|
||||
ping: true
|
||||
|
||||
log:
|
||||
level: ERROR
|
||||
filePath: "/var/log/traefik/traefik.log"
|
||||
|
||||
accessLog:
|
||||
filePath: "/var/log/traefik/access.log"
|
||||
|
||||
# --- Entrypoints: Puertos de red y Redirección Global ---
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: websecure
|
||||
scheme: https
|
||||
websecure:
|
||||
address: ":443"
|
||||
|
||||
# --- Proveedores: Docker (vía Proxy) y Archivos Locales ---
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "tcp://traefik-socket-proxy:2375"
|
||||
exposedByDefault: false
|
||||
network: services-internal-net
|
||||
file:
|
||||
# Ruta donde se encuentran tus middlewares y servicios externos
|
||||
directory: "/etc/traefik/dynamic"
|
||||
watch: true
|
||||
|
||||
# --- Certificados ACME (Let's Encrypt) ---
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
email: "tortosaantonio@gmail.com"
|
||||
# Ruta exacta validada en tu original
|
||||
storage: "/letsencrypt/data/acme.json"
|
||||
tlsChallenge: {}
|
||||
Reference in New Issue
Block a user