mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
chore: updated configuration.yml for authelia
This commit is contained in:
parent
3dc36c2152
commit
4913003c63
|
@ -1,15 +1,14 @@
|
||||||
# based on https://github.com/authelia/authelia/blob/39763aaed24c4abdecd884b47357a052b235942d/examples/compose/lite/authelia/configuration.yml
|
|
||||||
|
|
||||||
# Authelia configuration
|
# Authelia configuration
|
||||||
|
|
||||||
# This secret can also be set using the env variables AUTHELIA_JWT_SECRET_FILE
|
identity_validation:
|
||||||
jwt_secret: a_very_important_secret
|
reset_password:
|
||||||
|
jwt_secret: 'a_very_important_secret'
|
||||||
|
|
||||||
server:
|
server:
|
||||||
address: 'tcp://:9091'
|
address: 'tcp://:9091'
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: info # debug
|
level: info
|
||||||
|
|
||||||
totp:
|
totp:
|
||||||
issuer: authelia.com
|
issuer: authelia.com
|
||||||
|
@ -21,29 +20,26 @@ authentication_backend:
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: deny
|
default_policy: deny
|
||||||
rules:
|
rules:
|
||||||
# Rules applied to everyone
|
- domain: auth.example.com
|
||||||
- domain: traefik.example.com
|
policy: bypass # Allow access to the login UI
|
||||||
policy: one_factor
|
|
||||||
- domain: fs.example.com
|
- domain: fs.example.com
|
||||||
policy: one_factor
|
policy: one_factor
|
||||||
|
|
||||||
session:
|
session:
|
||||||
# This secret can also be set using the env variables AUTHELIA_SESSION_SECRET_FILE
|
|
||||||
secret: unsecure_session_secret
|
secret: unsecure_session_secret
|
||||||
|
|
||||||
cookies:
|
cookies:
|
||||||
- name: authelia_session
|
- name: authelia_session
|
||||||
domain: example.com # Should match whatever your root protected domain is
|
domain: example.com # Root protected domain
|
||||||
default_redirection_url: https://fs.example.com
|
default_redirection_url: https://fs.example.com
|
||||||
authelia_url: https://authelia.example.com/
|
authelia_url: https://authelia.example.com/
|
||||||
expiration: 3600 # 1 hour
|
expiration: 3600 # 1 hour
|
||||||
inactivity: 300 # 5 minutes
|
inactivity: 300 # 5 minutes
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
host: redis
|
host: valkey
|
||||||
port: 6379
|
port: 6379
|
||||||
# This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE
|
password: your_secure_password_here
|
||||||
# password: authelia
|
|
||||||
|
|
||||||
regulation:
|
regulation:
|
||||||
max_retries: 3
|
max_retries: 3
|
||||||
|
@ -58,9 +54,7 @@ storage:
|
||||||
notifier:
|
notifier:
|
||||||
disable_startup_check: true
|
disable_startup_check: true
|
||||||
smtp:
|
smtp:
|
||||||
username: test
|
address: 'smtp://127.0.0.1:25'
|
||||||
# This secret can also be set using the env variables AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE
|
username: 'test'
|
||||||
password: password
|
password: 'password'
|
||||||
host: mail.example.com
|
sender: "Authelia <admin@example.com>"
|
||||||
port: 25
|
|
||||||
sender: admin@example.com
|
|
||||||
|
|
Loading…
Reference in a new issue