Fix WEBHOOK_URL, add MomentJS, add SSO

This commit is contained in:
3wc
2021-11-17 11:39:31 +02:00
parent 3f78484334
commit 07e74fc6e3
3 changed files with 25 additions and 6 deletions

16
compose.sso.yml Normal file
View File

@ -0,0 +1,16 @@
---
version: '3.8'
services:
app:
image: n8nio/n8n
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"