# Local-dev overlay. Adds host-side port bindings that production deliberately omits. # # Use: # docker compose -f docker-compose.v2.yml -f docker-compose.v2.dev.yml up -d # # This is convenience-only. Connect from the host via: # psql -h 127.0.0.1 -p ${DB_V2_PORT:-5437} -U srv2_user social_reporting_v2 name: social-reporting-v2 services: db-v2: ports: # Bind to 127.0.0.1 to keep the db unreachable from outside this machine. - "127.0.0.1:${DB_V2_PORT:-5437}:5432"