Add SSO support.
This commit is contained in:
@ -7,6 +7,12 @@ DOMAIN=voila.example.com
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
# Single Sign-On using traefik-forward-auth
|
||||
#TFA_MIDDLEWARE_NAME="keycloak"
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
||||
|
||||
# The voila version to pin to (can be overriden by requirements.txt)
|
||||
VOILA_VERSION=0.4.0
|
||||
# The directory to run voila from.
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user