fix(deploy): disable automatic migrations in entrypoint for diagnosis
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions

Migrations will be run manually via Coolify terminal to isolate the restart loop issue.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Paperclip FoundingEngineer 2026-05-02 12:23:07 +00:00
parent ac002580b1
commit e6cb89bf4e

View file

@ -1,8 +1,10 @@
#!/bin/sh #!/bin/sh
set -e set -e
echo "[entrypoint] Running database migrations..." # NOTE: Migrations désactivées pour diagnostiquer le problème de redémarrage
node dist/scripts/migrate.js # Lancer manuellement via: docker exec <container> node dist/scripts/migrate.js
# echo "[entrypoint] Running database migrations..."
# node dist/scripts/migrate.js
echo "[entrypoint] Starting application server..." echo "[entrypoint] Starting application server..."
exec node dist/src/server.js exec node dist/src/server.js