# Only DB/cache test ports; API replicas always stay behind the LB. services: postgres: ports: ["127.0.0.1:${TEST_PG_PORT:-55433}:5432"] valkey: ports: ["127.0.0.1:${TEST_CACHE_PORT:-56380}:6379"]