fix(deploy): disable automatic migrations in entrypoint for diagnosis
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:
parent
ac002580b1
commit
e6cb89bf4e
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "[entrypoint] Running database migrations..."
|
||||
node dist/scripts/migrate.js
|
||||
# NOTE: Migrations désactivées pour diagnostiquer le problème de redémarrage
|
||||
# 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..."
|
||||
exec node dist/src/server.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue