Refactor Authelia database configuration to use environment variables for improved security and flexibility; add Duplicati service for encrypted cloud backup.

This commit is contained in:
elfateh4
2025-12-02 05:48:54 +01:00
parent 9ac7fefb3d
commit 96e3c80ffb
3 changed files with 43 additions and 4 deletions

View File

@@ -35,8 +35,9 @@ session:
storage:
postgres:
address: 'tcp://authelia-db:5432'
database: 'authelia'
username: 'authelia'
database: '${AUTHELIA_DB_NAME}'
username: '${AUTHELIA_DB_USER}'
password: '${AUTHELIA_DB_PASSWORD}'
notifier:
disable_startup_check: true

View File

@@ -37,6 +37,7 @@ storage:
address: 'tcp://authelia-db:5432'
database: 'authelia'
username: 'authelia'
password: 'p/6EGIgTxPndniwUCY54G7q5jOPqXofF'
notifier:
disable_startup_check: true