Fix backup stack env for Portainer git deploy.

Remove compose ${VAR} overrides that blanked stack.env values and map KOPIA_REPOSITORY_PASSWORD in init-kopia; use hostname-only B2 endpoint.
This commit is contained in:
ginnoir
2026-06-10 21:26:02 -05:00
parent 7c7f6dfebc
commit f660bc9c4b
3 changed files with 2 additions and 10 deletions
+1
View File
@@ -4,6 +4,7 @@ set -e
CONFIG_DIR=/app/config
export KOPIA_CONFIG_PATH="${CONFIG_DIR}/repository.config"
export KOPIA_PASSWORD="${KOPIA_REPOSITORY_PASSWORD}"
mkdir -p "${CONFIG_DIR}" /app/cache /app/logs