changes for Authelia setup

This commit is contained in:
Amar Saljic
2025-10-26 12:45:33 +01:00
parent b5c0439b04
commit 9ef2ec345c
4 changed files with 22 additions and 6 deletions

View File

@ -1,3 +1,7 @@
secrets:
STORAGE_ENCRYPTION_KEY:
file: './secrets/authelia_db_encryption_key'
services:
authelia:
image: authelia/authelia:latest
@ -11,8 +15,10 @@ services:
- ./db:/config/db
ports:
- '9091:9091'
secrets: ['STORAGE_ENCRYPTION_KEY']
environment:
- TZ=Etc/UTC
TZ: 'Etc/UTC'
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: '/run/secrets/STORAGE_ENCRYPTION_KEY'
restart: always
healthcheck:

View File

@ -1,6 +1,5 @@
server:
host: 0.0.0.0
port: 9091
address: 0.0.0.0:9091
endpoints:
authz:
forward-auth:
@ -11,7 +10,7 @@ log:
# --- Storage ---
storage:
sqlite:
local:
path: /config/db/authelia.sqlite.db
# --- Authentication ---
@ -35,7 +34,7 @@ session:
cookies:
- domain: 'saljic.me'
authelia_url: 'https://auth.saljic.me'
default_redirection_url: 'https://auth.saljic.me'
default_redirection_url: 'https://saljic.me'
# name: authelia_session
# expiration: 1h
# inactivity: 5m