Startup variables (INFINIDYSK_LISTEN, PUID, …) are read once when the process starts. They are not settings and cannot be changed in the UI.
Setting variables (INFINIDYSK__<SECTION>__<KEY>, with two underscores) force one setting. Use them to manage settings from a Compose file instead of the UI.
Address for the UI, the SABnzbd API and WebDAV. The health check asks the same address.
INFINIDYSK_CONFIG_DIR
/config
The folder infinidysk keeps its files in: the SQLite database, database.toml, metrics, logs, backups, the disk cache, and the 1.x install to import. Must be an absolute path; infinidysk creates it when missing. For installs outside Docker; in the container, leave it unset and bind /config. See Container paths.
INFINIDYSK_DATABASE_URL
sqlite:<config folder>/infinidysk.sqlite
Database. Use postgres://… for PostgreSQL. Wins over database.toml in the config folder and turns off the move under Settings > System > Database; see Move to PostgreSQL.
PUID / PGID
1000
Owner shown on files in the mount.
TZ
UTC
Time zone for the maintenance window and file dates.
logs in INFINIDYSK_CONFIG_DIR when set, else beside the SQLite database, else /config/logs
Where log files are written.
INFINIDYSK_METRICS_PATH
metrics.sqlite in INFINIDYSK_CONFIG_DIR when set, else beside the SQLite database, else /config/metrics.sqlite
The metrics store. Always its own SQLite file, also with PostgreSQL.
INFINIDYSK_FFPROBE
ffprobe
ffprobe binary for media analysis. The image includes it. Without it, analysis is off.
INFINIDYSK_TRACE_MINUTES
0
Traces every file opened in the first this many minutes after start. For bug reports.
INFINIDYSK_EXPERIMENTS
empty
Comma list of experiments to switch on, on top of the experiments setting.
SQLITE_TMPDIR / TMPDIR
/var/tmp
Where SQLite writes its temporary copy when the database is compacted. Needs free space the size of the database.
DATABASE_PROVIDER / DATABASE_CONNECTION_STRING
unset
Only for the upgrade from 1.x on PostgreSQL: set them as 1.x had them. The import reads the 1.x database with them; remove them once it is done. Also honors the PG… variables 1.x’s driver read, such as PGPASSWORD and PGPASSFILE.
An unknown INFINIDYSK__… name logs a warning and is ignored. Check the log after a change for a typo.
A number outside its range logs a warning and uses the default.
Any other bad value stops startup with an error that names the setting: a relative path, an unknown choice, text where a number belongs, or a list that is not JSON.
The SABnzbd API key, admin API key, session key, WebDAV password, WebDAV download key and STRM key are generated on first start when empty. Set them with variables only if another tool must know them in advance.
required, local (clients on private addresses skip sign-in) or disabled.
auth.api_key
generated
Text. X-Api-Key for scripts calling the admin API. Separate from the SAB key.
auth.session_key
generated
Text. Signs UI session cookies. Changing it signs everyone out.
auth.local_login
true
true or false. false allows only SSO; it can be turned off in the UI only after an SSO sign-in has worked. Set true to get back in when the identity provider is down.
auth.oidc.issuer
empty
Text. Issuer URL exactly as the provider publishes it. Empty turns SSO off.
auth.oidc.client_id
empty
Text.
auth.oidc.client_secret
empty
Text.
auth.oidc.redirect_uri
empty
Text. Empty means the public URL, else the address the browser used, plus /auth/oidc/callback.
auth.oidc.scopes
openid profile email
Space-separated. openid is always sent.
auth.oidc.username_claim
preferred_username
ID-token claim shown as the username.
See Single sign-on for the auth.oidc and auth.local_login settings.
The admin account itself is created in the UI and has no variable.
1.x NZBDAV_CONFIG__… variables and its older fallbacks (WEBDAV_USER, MOUNT_DIR, …) are read once, by the upgrade on the first start. The values they hold are imported into the database like any other 1.x setting. After that, 2.x ignores them. To keep a setting managed by Compose, rename it to its INFINIDYSK__… name.