Add docker-compose.local.yml for local development setup

- Introduced a new docker-compose.local.yml file to facilitate local development.
- Disabled nginx-proxy and acme-companion services for local use.
- Exposed database and application ports directly to the host for easier access.
- Configured PostgreSQL to be accessible on localhost:5433.
- Mapped application ports for studio and experience services.
This commit is contained in:
2026-04-07 17:36:19 -04:00
parent 66bfb34d34
commit 82ac2f09fc
6 changed files with 474 additions and 93 deletions
+30
View File
@@ -0,0 +1,30 @@
# docker-compose.local.yml — Override para desarrollo local
# Uso: docker compose -f docker-compose.yml -f docker-compose.local.yml [comando]
#
# Diferencias con producción:
# - nginx-proxy y acme-companion deshabilitados (profiles: production)
# - Puertos expuestos directamente al host
# - DB accesible en localhost:5433
services:
nginx-proxy:
profiles:
- production
acme-companion:
profiles:
- production
db:
ports:
- "5433:5432"
studio:
ports:
- "3000:3000"
- "3001:3001"
experience:
ports:
- "3003:3003"
- "3002:3002"