docker-server/authelia/configuration.yml

43 lines
772 B
YAML

host: 0.0.0.0
port: 9091
logs_level: trace
jwt_secret: {{ env.Getenv "PRIVATE_DOMAIN" }}-jwt-secret
authentication_backend:
file:
path: /opt/authelia/users_database.yml
session:
name: authelia_session
secret: {{ env.Getenv "PRIVATE_DOMAIN" }}-token-secret
domain: {{ env.Getenv "PRIVATE_DOMAIN" }}
expiration: 604800
inactivity: 172800
storage:
local:
path: /opt/authelia/db.sqlite3
totp:
issuer: {{ env.Getenv "PRIVATE_DOMAIN" }}
access_control:
default_policy: one_factor
rules:
# Allow free access from local network
- domain: "*"
networks:
- 192.168.1.0/23
policy: bypass
regulation:
max_retries: 5
find_time: 120
ban_time: 180
notifier:
filesystem:
filename: /opt/authelia/notification.txt