forked from coop-cloud/custom-html
Add optional traefik-forward-auth login
This commit is contained in:
parent
8550b91477
commit
b8dec9d61a
@ -4,3 +4,8 @@ DOMAIN=custom-html.example.com
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.custom-html.example.com`'
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
# Single Sign On via Traefik "file provider"
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
||||
|
8
compose.sso.yml
Normal file
8
compose.sso.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- TFA_MIDDLEWARE_NAME
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${TFA_MIDDLEWARE_NAME}@file"
|
Loading…
x
Reference in New Issue
Block a user