From 90c53c47d95167f939bbb1cee2dc2fa9ec67cd79 Mon Sep 17 00:00:00 2001 From: uprightbass360 Date: Sun, 9 Nov 2025 05:15:58 -0500 Subject: [PATCH] bind network and remote cleanup --- docker-compose.yml | 4 ++++ scripts/bash/migrate-stack.sh | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d60f478..340322f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -221,6 +221,8 @@ services: chmod -R 755 /azerothcore/data /cache echo "✅ Docker volume permissions fixed" restart: "no" + networks: + - azerothcore ac-storage-init: profiles: ["db", "modules"] @@ -244,6 +246,8 @@ services: chmod -R 755 /storage-root /local-storage-root echo "✅ Storage permissions initialized" restart: "no" + networks: + - azerothcore # ===================== # Client Data (client-data) diff --git a/scripts/bash/migrate-stack.sh b/scripts/bash/migrate-stack.sh index 031f733..5c52353 100755 --- a/scripts/bash/migrate-stack.sh +++ b/scripts/bash/migrate-stack.sh @@ -349,6 +349,17 @@ if [[ $SKIP_STORAGE -eq 0 ]]; then fi fi +reset_remote_post_install_marker(){ + local marker_dir="$REMOTE_STORAGE/install-markers" + local marker_path="$marker_dir/post-install-completed" + echo "⋅ Resetting remote post-install markers" + run_ssh "mkdir -p '$marker_dir' && rm -f '$marker_path'" +} + +if [[ $SKIP_STORAGE -eq 0 ]]; then + reset_remote_post_install_marker +fi + # Clean up stale Docker resources before loading new images cleanup_stale_docker_resources