37 lines
1.3 KiB
TOML
37 lines
1.3 KiB
TOML
# Rauthy, the vel's sign-in in Norwegian: what is not secret. The
|
|||
|
|
# secrets (the encryption key, the cluster secrets) and the names that
|
||
|
|
# differ per site come from rauthy.env, which the deploy workflow writes
|
||
|
|
# from the Actions secrets and variables (README.md). A profile: only
|
||
|
|
# with `rauthy` in COMPOSE_PROFILES does it run.
|
||
|
|
|
||
|
|
[bootstrap]
|
||
|
|
# The first admin's address, from BOOTSTRAP_ADMIN_EMAIL (rauthy.env).
|
||
|
|
# Its password is printed once in the log on the very first start:
|
||
|
|
# podman compose logs rauthy | grep -A2 -i password
|
||
|
|
|
||
|
|
[cluster]
|
||
|
|
# One node, on its own.
|
||
|
|
node_id = 1
|
||
|
|
nodes = ["1 localhost:8100 localhost:8200"]
|
||
|
|
|
||
|
|
[email]
|
||
|
|
# Through kasse's postfix, like gdo: the host signs the vel's mail
|
||
|
|
# (DKIM for tomtervel.no) on the way out.
|
||
|
|
smtp_url = "host.containers.internal"
|
||
|
|
smtp_port = 25
|
||
|
|
smtp_tls_mode = "danger-insecure"
|
||
|
|
smtp_from = "Tomter Vel <post@tomtervel.no>"
|
||
|
|
sub_prefix = "Tomter Vel"
|
||
|
|
|
||
|
|
[i18n]
|
||
|
|
# Norwegian first, and English for whoever's browser asks for it.
|
||
|
|
filter_lang_common = ["nb", "en"]
|
||
|
|
filter_lang_admin = ["nb", "en"]
|
||
|
|
|
||
|
|
[server]
|
||
|
|
# Behind kasse's host Caddy, which holds the certificate.
|
||
|
|
scheme = "http"
|
||
|
|
proxy_mode = true
|
||
|
|
# Caddy reaches the published port from the host, which the container
|
||
|
|
# sees as the project network's gateway (compose.yml pins 172.18/16).
|
||
|
|
trusted_proxies = ["172.16.0.0/12"]
|