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