changes for Authelia setup
This commit is contained in:
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user