docs: update env and docker-compose for session-based auth

- Replace JWT config with SESSION_SECRET and SESSION_TTL_HOURS
- Remove AUTHENTIK_JWKS_URL, ISSUER, AUDIENCE (no longer needed)
- Update docker-compose.traefik.yml environment variables
This commit is contained in:
Fusion
2026-05-18 22:56:04 +02:00
parent 2ce7862058
commit d724a92d34
2 changed files with 5 additions and 11 deletions
+3 -7
View File
@@ -6,10 +6,9 @@ POSTGRES_DB=headquarter
# Redis Configuration
REDIS_URL=redis://redis:6379/0
# JWT Configuration
JWT_SECRET=change-me-in-production
JWT_ALGORITHM=HS256
JWT_EXPIRATION_HOURS=24
# Session Configuration
SESSION_SECRET=change-me-in-production
SESSION_TTL_HOURS=24
# Application Configuration
APP_ENV=development
@@ -37,9 +36,6 @@ AUTHENTIK_APPLICATION_SLUG=headquarter-web
# Override Authentik URLs if they differ from the default pattern
# AUTHENTIK_AUTHORIZE_URL=https://authentik.example.com/application/o/authorize/
# AUTHENTIK_TOKEN_URL=https://authentik.example.com/application/o/token/
# AUTHENTIK_JWKS_URL=https://authentik.example.com/application/o/headquarter-web/jwks/
# AUTHENTIK_ISSUER=https://authentik.example.com/application/o/headquarter-web/
AUTHENTIK_AUDIENCE=headquarter-web
# Frontend Configuration
VITE_API_BASE_URL=http://localhost:8000