# Dev-only overrides. Dev shares the host with prod and historically used its # own postgres data volume (dev-pgdata) and no host-port bindings. The canonical # (prod) compose uses api-pgdata + host ports; pin dev back to its own data and # drop the clashing host ports. !override replaces base lists. services: api-postgres: ports: !override [] volumes: !override - dev-pgdata:/var/lib/postgresql/data # Dev api/site share the host with prod (which owns 3001/4322). Dev nginx # (dev.performancewest.net / api.dev.performancewest.net) proxies to the dev # host ports 3002 (api) and 4323 (site), so remap them here. api: ports: !override - "3002:3001" site: ports: !override - "4323:80" listmonk: ports: !override [] listmonk-hc: ports: !override [] volumes: dev-pgdata: external: true name: performancewest-dev_dev-pgdata