Add basicauth support
This commit is contained in:
parent
9fd9aefead
commit
5d24f7d30d
|
@ -13,6 +13,12 @@ COMPOSE_FILE="compose.yml"
|
||||||
#TFA_MIDDLEWARE_NAME="keycloak"
|
#TFA_MIDDLEWARE_NAME="keycloak"
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
||||||
|
|
||||||
|
# Password Sign-On using traefik http password
|
||||||
|
# Use htpasswd to generate the passwords for the user list, then set the below variable to
|
||||||
|
# something like 'username:$$passwordhash', comma separated for multiple users.
|
||||||
|
#HTTP_BASIC_AUTH_PASSWORDS=
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.basicauth.yml"
|
||||||
|
|
||||||
# The voila version to pin to (can be overriden by requirements.txt)
|
# The voila version to pin to (can be overriden by requirements.txt)
|
||||||
VOILA_VERSION=0.4.0
|
VOILA_VERSION=0.4.0
|
||||||
# The directory to run voila from.
|
# The directory to run voila from.
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
environment:
|
||||||
|
- HTTP_BASIC_AUTH_PASSWORDS
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- "traefik.http.middlewares.${STACK_NAME}.basicauth.users=${HTTP_BASIC_AUTH_PASSWORDS}"
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
|
Loading…
Reference in New Issue