feat: implement retry logic for database migrations and enable tty for better logging

This commit is contained in:
Jose Selesan
2026-09-28 19:32:42 -03:00
parent 0cd74194e3
commit 88c8b2ec90
2 changed files with 8 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ services:
environment:
DATABASE_URL: "${DATABASE_URL:?falta DATABASE_URL}"
restart: "no"
# Dokploy deipa con `up -d`; con tty el compose adjunta la salida del
# contenedor y el error de Prisma aparece en el log del deploy, en vez de
# un exit 1 sin contexto.
tty: true
api:
build: