fix(security): rate limiting, forbidNonWhitelisted, Prisma migrations en startup y CI para GHCR

- ThrottlerGuard global: 20 req/min por IP en todos los endpoints
- forbidNonWhitelisted: true en ValidationPipe
- Dockerfile API: prisma migrate deploy antes de arrancar el proceso
- coolify-compose: depends_on api (service_healthy) en web
- GitHub Actions: build y push de imágenes api/web a GHCR en cada push a main

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-18 17:06:35 -05:00
co-authored by Claude Sonnet 4.6
parent 1b49e3fc0e
commit db19f3e1ca
5 changed files with 69 additions and 2 deletions
+3
View File
@@ -47,6 +47,9 @@ services:
web:
image: ghcr.io/lizandrogd/moraworld-imports/web:latest
depends_on:
api:
condition: service_healthy
build:
context: .
dockerfile: apps/web/Dockerfile