Files
task-stream/docker-compose.override.yml
Josep Piguillem b2c9be72c3 chore(docker): publish ports only in development
docker-compose.yml is the production definition (deployed by Dokploy) and no
longer publishes any port: postgres, mongo, redis and the API are reachable
only on the compose network, and the web goes out through the platform's
proxy (domain → service web, port 80). The ports moved to
docker-compose.override.yml, which Compose loads automatically locally and
Dokploy (-f docker-compose.yml) does not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:16:50 +02:00

15 lines
446 B
YAML

# Development only: published ports, so `npx nx serve api` / `npx nx serve web` and your tools
# can reach the containers. Compose loads this file automatically with docker-compose.yml;
# production (Dokploy) runs `-f docker-compose.yml` alone and publishes nothing.
services:
web:
ports: ['8080:80']
api:
ports: ['3000:3000']
postgres:
ports: ['5432:5432']
mongo:
ports: ['27017:27017']
redis:
ports: ['6379:6379']