n8n/compose.sso.yml

16 lines
541 B
YAML

---
version: '3.8'
services:
app:
environment:
- N8N_BASIC_AUTH_ACTIVE=false
deploy:
labels:
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=5678"
- "traefik.http.routers.${STACK_NAME}.middlewares=keycloak@file"
- "traefik.http.routers.${STACK_NAME}_public.rule=(Host(`${DOMAIN}`) && PathPrefix(`/webhook`))"
- "traefik.http.routers.${STACK_NAME}_public.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}_public.entrypoints=web-secure"