services: proxy: image: mitmproxy/mitmproxy entrypoint: ["mitmweb"] command: > --web-host 0.0.0.0 --listen-port 9090 -s /addons/capture.py --set confdir=/mitmproxy-data ports: - "8081:8080" - "9090:9090" volumes: - ./test/mitmproxy:/addons:ro - ./test/data:/mitmproxy-data - ./test/captures:/captures gemini-cli: build: context: . dockerfile: test/Dockerfile.gemini-cli depends_on: - proxy env_file: .env environment: - HTTP_PROXY=http://proxy:9090 - HTTPS_PROXY=http://proxy:9090 - TEST_PROMPT=${TEST_PROMPT:-Say hi in exactly 3 words} volumes: - ./test/data:/mitmproxy-ca:ro - ./test/captures:/captures - ./test/gemini-config:/gemini-settings:ro profiles: - cli gemini-py: build: context: . dockerfile: test/Dockerfile.gemini-py depends_on: - proxy env_file: .env environment: - HTTP_PROXY=http://proxy:9090 - HTTPS_PROXY=http://proxy:9090 - TEST_PROMPT=${TEST_PROMPT:-Say hi in exactly 3 words} - TEST_MODE=${TEST_MODE:-single} - CAPTURE_SOURCE=gemini-py volumes: - ./test/data:/mitmproxy-ca:ro - ./test/captures:/captures profiles: - py