fix: Produktions-Crash durch TypeORM-synchronize beheben
Build and Push Multi-Platform Images / build-and-push (push) Successful in 44s

NODE_ENV=production deaktiviert synchronize (zerstörerischer ADD/DROP-COLUMN-
Churn auf MariaDB, der die 8126-Byte-Zeilengröße sprengte) und aktiviert
migrationsRun. Neue data-source.ts als einzige Konfigquelle (Laufzeit + CLI),
Migrations-Workflow (generate/run/revert) inkl. dotenv ergänzt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 09:27:04 +02:00
parent ed57477324
commit 41eed1871e
8 changed files with 143 additions and 72 deletions
+2
View File
@@ -8,6 +8,8 @@ services:
ports:
- "${BACKEND_PORT:-7601}:3100"
environment:
- NODE_ENV=production
- CORS_ORIGIN=${CORS_ORIGIN:-}
- PORT=3100
- DB_HOST=${DB_HOST:-db}
- DB_PORT=${DB_PORT:-3306}