Add migration script and harden module deploy SQL

- add scripts/migrate-stack.sh to export module images and sync project/storage to a remote host
  - ensure manage-modules-sql.sh applies module db-world/db-auth/db-characters and custom SmartAI fixes idempotently
  - stage AutoBalance configs with EndGameBoost disabled on every deploy
  - bump MySQL tmpfs size (MYSQL_RUNTIME_TMPFS_SIZE, default 8G) to avoid OOM/ENOSPC
This commit is contained in:
Deckard
2025-10-19 04:59:06 -04:00
parent b62a55c47b
commit 0a168c82e6
6 changed files with 214 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ services:
- ${STORAGE_PATH:-./storage}/mysql-data:/var/lib/mysql-persistent
- ${HOST_BACKUP_PATH:-${STORAGE_PATH:-./storage}/backups}:/backups
tmpfs:
- /var/lib/mysql-runtime:size=2G
- /var/lib/mysql-runtime:size=${MYSQL_RUNTIME_TMPFS_SIZE:-8G}
command:
- mysqld
- --datadir=/var/lib/mysql-runtime