Set explicit Kopia UI credentials for web login.

Use HTTP basic auth username kopia with KOPIA_REPOSITORY_PASSWORD; document in README.
This commit is contained in:
ginnoir
2026-06-10 21:38:10 -05:00
parent 9878f17673
commit 4bb9413391
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ Kopia → Backblaze B2. Backs up `/config`, **selected** `labdata` paths (see `S
## After deploy
- UI: `http://valhalla:51515` (or add `backup.ginnoir.com` internal-only in Caddy)
- UI: https://backup.ginnoir.com (LAN/Tailscale) — username `kopia`, password = `KOPIA_REPOSITORY_PASSWORD` in `stack.env`
- Subscribe phone to ntfy topic `backup` (or path in `NTFY_URL`)
- **Restore test** (do once): pick a small dump from `/config/backup/dumps/`, restore to a throwaway container
+4 -1
View File
@@ -44,4 +44,7 @@ else
echo "init-kopia: B2 credentials empty — start UI only; configure repo manually (see README)"
fi
exec kopia server start --ui --insecure --address=0.0.0.0:51515
# Web UI uses HTTP basic auth (distinct from repository encryption password).
exec kopia server start --ui --insecure --address=0.0.0.0:51515 \
--server-username=kopia \
--server-password="${KOPIA_PASSWORD}"