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 committed 2026-06-10 21:38:10 -05:00
1 parent 9878f17673
commit 4bb9413391
2 files changed
+5 -2

No files matched your search

+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}"