2023-09-12 20:30:40 +00:00
|
|
|
# update website/docs/installation/configuration.mdx
|
2018-11-14 18:14:14 +00:00
|
|
|
# This is the default configuration file
|
2019-09-30 16:04:04 +00:00
|
|
|
postgresql:
|
2018-11-14 18:14:14 +00:00
|
|
|
host: localhost
|
2020-12-05 21:08:42 +00:00
|
|
|
name: authentik
|
|
|
|
user: authentik
|
2021-05-10 17:25:09 +00:00
|
|
|
port: 5432
|
2023-07-06 16:16:26 +00:00
|
|
|
password: "env://POSTGRES_PASSWORD"
|
2022-10-14 09:53:24 +00:00
|
|
|
use_pgbouncer: false
|
2023-09-21 10:54:18 +00:00
|
|
|
use_pgpool: false
|
2019-09-30 16:04:04 +00:00
|
|
|
|
2022-08-03 19:33:27 +00:00
|
|
|
listen:
|
|
|
|
listen_http: 0.0.0.0:9000
|
|
|
|
listen_https: 0.0.0.0:9443
|
2023-04-28 22:58:44 +00:00
|
|
|
listen_ldap: 0.0.0.0:3389
|
|
|
|
listen_ldaps: 0.0.0.0:6636
|
|
|
|
listen_radius: 0.0.0.0:1812
|
2021-09-09 14:40:39 +00:00
|
|
|
listen_metrics: 0.0.0.0:9300
|
2023-04-28 22:58:44 +00:00
|
|
|
listen_debug: 0.0.0.0:9900
|
2023-07-06 16:16:26 +00:00
|
|
|
trusted_proxy_cidrs:
|
|
|
|
- 127.0.0.0/8
|
|
|
|
- 10.0.0.0/8
|
|
|
|
- 172.16.0.0/12
|
|
|
|
- 192.168.0.0/16
|
|
|
|
- fe80::/10
|
|
|
|
- ::1/128
|
2021-05-04 12:07:12 +00:00
|
|
|
|
2019-09-30 16:04:04 +00:00
|
|
|
redis:
|
|
|
|
host: localhost
|
2021-07-12 09:01:41 +00:00
|
|
|
port: 6379
|
2023-07-06 16:16:26 +00:00
|
|
|
password: ""
|
2021-07-15 09:48:52 +00:00
|
|
|
tls: false
|
2021-07-16 06:51:09 +00:00
|
|
|
tls_reqs: "none"
|
2022-11-15 13:31:29 +00:00
|
|
|
db: 0
|
2021-06-21 08:18:49 +00:00
|
|
|
cache_timeout: 300
|
|
|
|
cache_timeout_flows: 300
|
|
|
|
cache_timeout_policies: 300
|
|
|
|
cache_timeout_reputation: 300
|
2019-07-04 13:23:05 +00:00
|
|
|
|
2023-04-28 22:58:44 +00:00
|
|
|
paths:
|
|
|
|
media: ./media
|
|
|
|
|
2019-02-13 15:41:51 +00:00
|
|
|
debug: false
|
2023-06-28 14:44:50 +00:00
|
|
|
remote_debug: false
|
2021-03-12 15:43:31 +00:00
|
|
|
|
2020-09-02 22:04:12 +00:00
|
|
|
log_level: info
|
2019-09-30 16:04:04 +00:00
|
|
|
|
2020-08-20 18:39:21 +00:00
|
|
|
error_reporting:
|
|
|
|
enabled: false
|
2023-05-11 13:24:38 +00:00
|
|
|
sentry_dsn: https://151ba72610234c4c97c5bcff4e1cffd8@authentik.error-reporting.a7k.io/4504163677503489
|
2020-08-20 18:39:21 +00:00
|
|
|
environment: customer
|
2020-08-20 20:19:49 +00:00
|
|
|
send_pii: false
|
2022-09-03 14:41:47 +00:00
|
|
|
sample_rate: 0.1
|
2018-11-14 18:14:14 +00:00
|
|
|
|
2021-01-04 23:41:10 +00:00
|
|
|
# Global email settings
|
|
|
|
email:
|
|
|
|
host: localhost
|
|
|
|
port: 25
|
|
|
|
username: ""
|
|
|
|
password: ""
|
|
|
|
use_tls: false
|
|
|
|
use_ssl: false
|
|
|
|
timeout: 10
|
|
|
|
from: authentik@localhost
|
2022-09-28 16:51:34 +00:00
|
|
|
template_dir: /templates
|
2021-01-04 23:41:10 +00:00
|
|
|
|
2022-10-11 10:42:10 +00:00
|
|
|
throttle:
|
|
|
|
providers:
|
|
|
|
oauth2:
|
|
|
|
device: 20/hour
|
2022-10-15 21:51:36 +00:00
|
|
|
default: 1000/second
|
2022-10-11 10:42:10 +00:00
|
|
|
|
2020-11-15 23:34:51 +00:00
|
|
|
outposts:
|
2021-04-29 18:07:53 +00:00
|
|
|
# Placeholders:
|
|
|
|
# %(type)s: Outpost type; proxy, ldap, etc
|
|
|
|
# %(version)s: Current version; 2021.4.1
|
2021-05-12 18:36:18 +00:00
|
|
|
# %(build_hash)s: Build hash if you're running a beta version
|
2021-12-21 12:54:49 +00:00
|
|
|
container_image_base: ghcr.io/goauthentik/%(type)s:%(version)s
|
2022-02-12 16:27:41 +00:00
|
|
|
discover: true
|
2022-08-05 22:24:49 +00:00
|
|
|
disable_embedded_outpost: false
|
2020-11-15 23:34:51 +00:00
|
|
|
|
2022-07-01 17:53:49 +00:00
|
|
|
ldap:
|
2023-01-06 11:37:59 +00:00
|
|
|
task_timeout_hours: 2
|
2023-07-07 23:15:35 +00:00
|
|
|
page_size: 50
|
2022-07-01 17:53:49 +00:00
|
|
|
tls:
|
|
|
|
ciphers: null
|
|
|
|
|
2023-08-31 11:46:00 +00:00
|
|
|
reputation:
|
|
|
|
expiry: 86400
|
|
|
|
|
2021-10-20 16:26:22 +00:00
|
|
|
cookie_domain: null
|
2021-09-11 18:35:23 +00:00
|
|
|
disable_update_check: false
|
2021-11-04 12:16:53 +00:00
|
|
|
disable_startup_analytics: false
|
2023-02-12 15:35:17 +00:00
|
|
|
avatars: env://AUTHENTIK_AUTHENTIK__AVATARS?gravatar,initials
|
2022-03-09 20:57:29 +00:00
|
|
|
geoip: "/geoip/GeoLite2-City.mmdb"
|
2021-06-22 10:24:23 +00:00
|
|
|
|
2022-03-01 15:27:21 +00:00
|
|
|
footer_links: []
|
2021-11-13 21:33:03 +00:00
|
|
|
|
2022-01-04 18:03:12 +00:00
|
|
|
default_user_change_name: true
|
2023-05-10 18:57:57 +00:00
|
|
|
default_user_change_email: false
|
|
|
|
default_user_change_username: false
|
2021-11-16 10:29:13 +00:00
|
|
|
|
|
|
|
gdpr_compliance: true
|
2021-12-03 17:27:06 +00:00
|
|
|
cert_discovery_dir: /certs
|
2022-09-30 21:12:51 +00:00
|
|
|
default_token_length: 60
|
2022-04-17 14:52:55 +00:00
|
|
|
impersonation: true
|
2022-08-01 21:05:58 +00:00
|
|
|
|
2022-08-02 22:05:49 +00:00
|
|
|
blueprints_dir: /blueprints
|
2022-09-21 07:59:03 +00:00
|
|
|
|
|
|
|
web:
|
|
|
|
# No default here as it's set dynamically
|
|
|
|
# workers: 2
|
|
|
|
threads: 4
|
2023-09-26 10:37:22 +00:00
|
|
|
|
|
|
|
worker:
|
|
|
|
concurrency: 2
|