# Optional overlay: publish API / ATS / Redis on loopback for host tools # (curl, redis-cli, Postman). Not required for the SPA - nginx proxies # to backend-api on the Compose network. # # docker compose --env-file ./backend/.env -f docker-compose.yml -f docker-compose.host-ports.yml up -d # # If bind fails because an IDE (Cursor/VS Code) still holds the port after a # previous run, clear Port Forwarding in the IDE or override in backend/.env: # BACKEND_PORT=8001 # ATS_PORT=8101 # REDIS_PORT=6380 services: redis: ports: - "127.0.0.1:${REDIS_PORT:-6379}:6379" backend-api: ports: - "127.0.0.1:${BACKEND_PORT:-8000}:8000" ats-engine: ports: - "127.0.0.1:${ATS_PORT:-8100}:8100"