aboutsummaryrefslogtreecommitdiffstats
path: root/docker/authelia/configuration.template.yml
blob: bd29e0032a39296e2bc00985a2e56ada9b663bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
server:
  address: tcp://0.0.0.0:9091/

log:
  level: info
  format: text

theme: auto

identity_validation:
  reset_password: {}

authentication_backend:
  password_reset:
    disable: true
  file:
    path: /config/users_database.yml
    watch: true
    password:
      algorithm: argon2
      argon2:
        variant: argon2id
        iterations: 3
        memory: 65536
        parallelism: 4
        key_length: 32
        salt_length: 16

access_control:
  default_policy: deny
  rules:
    - domain: auth.__BASE_DOMAIN__
      policy: bypass
    - domain:
        - wiki.__BASE_DOMAIN__
        - dav.__BASE_DOMAIN__
      policy: one_factor
      subject:
        - group:tdwiki

session:
  name: authelia_session
  same_site: lax
  inactivity: 1h
  expiration: 12h
  remember_me: 30d
  cookies:
    - domain: __BASE_DOMAIN__
      authelia_url: https://auth.__BASE_DOMAIN__
      default_redirection_url: https://wiki.__BASE_DOMAIN__
  redis:
    host: redis
    port: 6379

regulation:
  max_retries: 5
  find_time: 2m
  ban_time: 10m

storage:
  local:
    path: /var/lib/authelia/db.sqlite3

notifier:
  filesystem:
    filename: /var/lib/authelia/notification.txt