mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 00:58:34 +00:00
bind network and remote cleanup
This commit is contained in:
@@ -221,6 +221,8 @@ services:
|
|||||||
chmod -R 755 /azerothcore/data /cache
|
chmod -R 755 /azerothcore/data /cache
|
||||||
echo "✅ Docker volume permissions fixed"
|
echo "✅ Docker volume permissions fixed"
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
networks:
|
||||||
|
- azerothcore
|
||||||
|
|
||||||
ac-storage-init:
|
ac-storage-init:
|
||||||
profiles: ["db", "modules"]
|
profiles: ["db", "modules"]
|
||||||
@@ -244,6 +246,8 @@ services:
|
|||||||
chmod -R 755 /storage-root /local-storage-root
|
chmod -R 755 /storage-root /local-storage-root
|
||||||
echo "✅ Storage permissions initialized"
|
echo "✅ Storage permissions initialized"
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
networks:
|
||||||
|
- azerothcore
|
||||||
|
|
||||||
# =====================
|
# =====================
|
||||||
# Client Data (client-data)
|
# Client Data (client-data)
|
||||||
|
|||||||
@@ -349,6 +349,17 @@ if [[ $SKIP_STORAGE -eq 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
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
|
# Clean up stale Docker resources before loading new images
|
||||||
cleanup_stale_docker_resources
|
cleanup_stale_docker_resources
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user