services: api: build: context: ./api ports: - "3001:3001" environment: PORT: "3001" HOST: "0.0.0.0" healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3001/health"] interval: 10s timeout: 3s retries: 5 web: build: context: ./web args: # The browser talks to the API on the host-published port. VITE_API_URL: "http://localhost:3001" ports: - "5173:80" depends_on: - api