17 lines
562 B
YAML
17 lines
562 B
YAML
---
|
|
|
|
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"
|