Add SSO support.

This commit is contained in:
Cassowary 2023-01-04 16:22:04 -08:00
parent fe55f46c0e
commit 9fd9aefead
2 changed files with 14 additions and 0 deletions

View File

@ -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
View 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"