Bootstrap configuration loading #46

Merged
naps62-yolo merged 2 commits from issue/3-config into main 2026-08-22 19:44:50 +01:00
Owner

Closes #3.

arr-daemon loads bootstrap settings (bind address, database path, media
root, Prowlarr/Transmission/Jellyfin/ntfy URLs) with precedence env > file >
default. Every non-secret field has a default, so the daemon starts with
only environment variables set — no config file required.

API keys (Prowlarr, TMDB, Jellyfin) come from the environment only. The
optional TOML file's schema has no fields for them, so a key placed there
is a hard parse error rather than a silent leak.

Closes #3. `arr-daemon` loads bootstrap settings (bind address, database path, media root, Prowlarr/Transmission/Jellyfin/ntfy URLs) with precedence env > file > default. Every non-secret field has a default, so the daemon starts with only environment variables set — no config file required. API keys (Prowlarr, TMDB, Jellyfin) come from the environment only. The optional TOML file's schema has no fields for them, so a key placed there is a hard parse error rather than a silent leak.
naps62-yolo added 1 commit 2026-08-22 19:31:09 +01:00
feat: bootstrap config loading from env and file
ci / rust (pull_request) Successful in 59s
ci / web (pull_request) Successful in 10s
e2e / e2e (pull_request) Successful in 46s
57170b01b4
Env overrides an optional TOML file, which overrides sensible
defaults. Secrets (API keys) are read from the environment only —
the file schema has no fields for them.

Closes #3
Author
Owner

No findings. The bootstrap configuration implementation matches #3, and just ci passes (format, clippy, dependency check, and 8 tests).

No findings. The bootstrap configuration implementation matches #3, and `just ci` passes (format, clippy, dependency check, and 8 tests).
naps62-yolo added 1 commit 2026-08-22 19:40:57 +01:00
Merge remote-tracking branch 'origin/main' into issue/3-config
ci / web (pull_request) Successful in 8s
ci / rust (pull_request) Successful in 1m3s
e2e / e2e (pull_request) Successful in 1m18s
8e8d90de65
# Conflicts:
#	Cargo.lock
Author
Owner

No findings on the current head. The only update since the previous review is the merge of main; all three PR CI checks are successful.

No findings on the current head. The only update since the previous review is the merge of `main`; all three PR CI checks are successful.
naps62-yolo merged commit 1529e9fdca into main 2026-08-22 19:44:50 +01:00
naps62-yolo deleted branch issue/3-config 2026-08-22 19:44:50 +01:00
Sign in to join this conversation.