forge
Explore
Log in

Don't you dare go Hollow

iz

Clone
★ 0

0 watching0 forksRustAGPL-3.0567.3 KiB3950aceTahinli27 days ago34 commits

iz.example.toml31 lines, 1.3 KiBHistoryRawDownload
1# iz configuration (development defaults). Copy to config/iz.toml or let iz create it on first run.
2# Secrets are not stored here: the OIDC client secret and the mail password are entered in the admin UI.
3
4# Database file. The -wal and -shm files sit next to it.
5database = "data/iz.db"
6# Directory for the instance key (iz.key), attachments and other local files.
7data_dir = "data"
8# HTTP listen address. Keep it on loopback behind a reverse proxy.
9listen = "127.0.0.1:7654"
10# Public base URL used in links and mail. No trailing slash. https, or http on localhost, 127.0.0.1 or ::1.
11base_url = "http://127.0.0.1:7654"
12
13# Identity provider (OpenID Connect). Uncomment to enable sign-in.
14# The client secret is read from client_secret_file at boot. That file must be mode 0600 or 0400.
15# [oidc]
16# issuer = "https://im.example.com"
17# client_id = "iz"
18# client_secret_file = "data/oidc_client_secret"
19
20# The external Files service (`in`) that may hold attachments. The storage choice is made in /settings.
21# It needs sign-in (the [oidc] section), because `in` is reached with a token from `im`.
22[in_store]
23enabled = false
24# url = "https://in.example.com"
25
26# Scheduled backups. Uncomment to enable.
27# [backup]
28# dir = "data/backups"
29# interval_hours = 24
30# keep = 14
31# healthcheck_url = "https://hc.example.com/ping/iz"