metalfrom.eu/apps/api
Nicolas Fryder c55366fb25 fix: migrate.js retry DB connection + align CORS_ORIGINS pattern on dev
migrate.js now retries up to 12 times with linear backoff (max 30s per attempt)
instead of crashing immediately — prevents container restart loops when the
standalone Coolify DB is temporarily unreachable at startup.

CORS_ORIGINS in docker-compose.dev.yml now uses ${CORS_ORIGINS:-https://dev.metalfrom.eu}
to match the prod pattern and allow Coolify UI override.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-27 16:12:10 +02:00
..
migrations feat(db): système de migrations SQL + refonte schéma 2026-06-27 15:09:35 +02:00
src fix: migrate.js retry DB connection + align CORS_ORIGINS pattern on dev 2026-06-27 16:12:10 +02:00
Dockerfile feat(db): système de migrations SQL + refonte schéma 2026-06-27 15:09:35 +02:00
package.json chore: initial commit — snapshot VPS 2026-06-27 2026-06-27 08:53:39 +00:00