51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
---
|
|
# Authelia configuration
|
|
# This is a minimal configuration for getting started with Authelia
|
|
|
|
server:
|
|
address: 'tcp://:9091'
|
|
endpoints:
|
|
authz:
|
|
forward-auth:
|
|
implementation: 'ForwardAuth'
|
|
|
|
authentication_backend:
|
|
file:
|
|
path: '/config/users_database.yml'
|
|
|
|
access_control:
|
|
default_policy: 'one_factor'
|
|
rules:
|
|
- domain: 'pgadmin.test.3launchpad.com'
|
|
policy: 'two_factor'
|
|
- domain: '*.test.3launchpad.com'
|
|
policy: 'one_factor'
|
|
|
|
session:
|
|
name: 'authelia_session'
|
|
cookies:
|
|
- domain: '3launchpad.com'
|
|
authelia_url: 'https://auth.test.3launchpad.com'
|
|
default_redirection_url: 'https://portainer.test.3launchpad.com'
|
|
|
|
storage:
|
|
postgres:
|
|
address: 'tcp://authelia-db:5432'
|
|
database: 'authelia'
|
|
username: 'authelia'
|
|
|
|
notifier:
|
|
disable_startup_check: true
|
|
smtp:
|
|
address: 'smtp://localhost:25'
|
|
username: 'authelia'
|
|
sender: 'authelia@example.com'
|
|
|
|
identity_validation:
|
|
reset_password: {}
|
|
|
|
regulation:
|
|
max_retries: 3
|
|
find_time: 120
|
|
ban_time: 300
|