Adopt persistent Portainer volume explicitly

This commit is contained in:
Mikei386
2026-09-01 11:07:11 +02:00
parent 12392ccdd7
commit 5f793020b0
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -44,6 +44,9 @@ case "$command" in
deploy)
[[ $# -gt 0 ]] || { usage >&2; exit 2; }
run python3 "$ROOT_DIR/platform/scripts/sync-profile-matrix.py" --check
if ! docker volume inspect portainer_data >/dev/null 2>&1; then
run docker volume create portainer_data
fi
if [[ $1 == core ]]; then
shift
[[ $# -eq 0 ]] || { echo "core akzeptiert keine weiteren Services" >&2; exit 2; }