services: mock-quack-upstream: image: python:3.12-alpine command: - python - -c - | from http.server import BaseHTTPRequestHandler, HTTPServer class H(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200); self.end_headers(); self.wfile.write(b'ok') def do_POST(self): body = self.rfile.read(int(self.headers.get('content-length', 0))) self.send_response(200); self.send_header('content-type', 'application/duckdb'); self.end_headers(); self.wfile.write(body) HTTPServer(('0.0.0.0', 9494), H).serve_forever() ports: - "9494:9494" quackgate: build: . command: ["serve", "--config", "/etc/quackgate/quackgate.yaml"] ports: - "7494:7494" volumes: - ./examples/docker-compose/quackgate.yaml:/etc/quackgate/quackgate.yaml:ro - ./data:/home/quackgate depends_on: - mock-quack-upstream