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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user