mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(oidc): add OIDC environment variables to Docker configuration
This commit is contained in:
@@ -33,6 +33,20 @@ services:
|
||||
- MAX_USERS=${MAX_USERS:-0}
|
||||
- SESSION_DURATION_HOURS=${SESSION_DURATION_HOURS:-168}
|
||||
- TRUST_PROXY=${TRUST_PROXY:-true}
|
||||
# OIDC Authentication (optional)
|
||||
# - EXTERNAL_URL=https://photos.example.com
|
||||
# - OIDC_ENABLED=false
|
||||
# - OIDC_ISSUER_URL=
|
||||
# - OIDC_CLIENT_ID=
|
||||
# - OIDC_CLIENT_SECRET=
|
||||
# - OIDC_SCOPES=openid profile email
|
||||
# - OIDC_AUTO_CREATE_USERS=true
|
||||
# - OIDC_DEFAULT_ROLE=user
|
||||
# - OIDC_AUTO_LINK_USERS=false
|
||||
# - OIDC_PROVIDER_NAME=
|
||||
# - OIDC_USERNAME_CLAIM=preferred_username
|
||||
# - OIDC_CLOCK_TOLERANCE=30
|
||||
# - COOKIE_SECRET=
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1349/api/v1/health"]
|
||||
|
||||
Reference in New Issue
Block a user