fix: use existing MySQL volume from old deployment

Reference the old new-api_mysql_data volume as external so all
existing data is preserved without re-import.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 00:44:25 +08:00
parent ab701aee3b
commit 585a9667be

View File

@@ -47,3 +47,5 @@ services:
volumes:
mysql_data:
external: true
name: new-api_mysql_data