traefik + authentik labels
This commit is contained in:
@@ -12,6 +12,20 @@ services:
|
|||||||
- NUXT_PORT=3000
|
- NUXT_PORT=3000
|
||||||
networks:
|
networks:
|
||||||
- principal
|
- principal
|
||||||
|
labels:
|
||||||
|
# Habilitar Traefik
|
||||||
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
# Router
|
||||||
|
- "traefik.http.routers.musica-nucleoriofrio.rule=Host(`musica.nucleoriofrio.com`)"
|
||||||
|
- "traefik.http.routers.musica-nucleoriofrio.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.musica-nucleoriofrio.tls.certresolver=letsencrypt"
|
||||||
|
|
||||||
|
# Middlewares: Authentik + headers + body-size
|
||||||
|
- "traefik.http.routers.musica-nucleoriofrio.middlewares=authentik-forward-auth@file,musica-headers@file,musica-body-size@file"
|
||||||
|
|
||||||
|
# Service
|
||||||
|
- "traefik.http.services.musica-nucleoriofrio-service.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
principal:
|
principal:
|
||||||
|
|||||||
Reference in New Issue
Block a user