This commit is contained in:
Wavering Ana 2025-01-29 01:29:27 -05:00
parent 5e83c1218b
commit a5753a044e
10 changed files with 141 additions and 179 deletions

View file

@ -26,11 +26,12 @@ services:
- API_URL=${API_URL:-http://localhost:3000}
container_name: shortener-app
ports:
- "3000:3000"
- "8080:8080"
environment:
- DATABASE_URL=postgresql://shortener:shortener123@db:5432/shortener
- SERVER_HOST=0.0.0.0
- SERVER_PORT=3000
- SERVER_PORT=8080
- JWT_SECRET=change-me-in-production
depends_on:
db:
condition: service_healthy