This commit is contained in:
Lucas Tettamanti
2026-01-27 02:59:31 -03:00
parent df9420b954
commit 1e84d19db8
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
# Override local: expone puertos para desarrollo
# Este archivo se aplica automáticamente con `docker compose up`
# Coolify ignora este archivo y usa solo docker-compose.yaml
services: services:
app: app:
image: node:20-alpine image: node:20-alpine

View File

@@ -5,10 +5,8 @@ services:
command: sh -c "npm install && npm run dev" command: sh -c "npm install && npm run dev"
expose: expose:
- "3000" - "3000"
env_file:
- .env
environment: environment:
- NODE_ENV=development - NODE_ENV=production
- PORT=3000 - PORT=3000
- DATABASE_URL=postgres://${POSTGRES_USER:-botino}:${POSTGRES_PASSWORD:-botino}@db:5432/${POSTGRES_DB:-botino} - DATABASE_URL=postgres://${POSTGRES_USER:-botino}:${POSTGRES_PASSWORD:-botino}@db:5432/${POSTGRES_DB:-botino}
- REDIS_URL=redis://redis:6379 - REDIS_URL=redis://redis:6379