diff options
| author | Claude <claude@anthropic.com> | 2026-03-04 19:14:55 +0100 |
|---|---|---|
| committer | Claude <claude@anthropic.com> | 2026-03-04 19:14:55 +0100 |
| commit | 171c5b86ef05974426ba5c5d8547c8025977d1a2 (patch) | |
| tree | 2a1193e2bb81a6341e55d0b883a3fc33f77f8be1 /compose.yml | |
| parent | 9f14edf2b97286e02830d528038b32d5b31aaa0a (diff) | |
| parent | 0278c87f062a9ae7d617b92be22b175558a05086 (diff) | |
| download | gemini-py-main.tar.gz gemini-py-main.zip | |
Diffstat (limited to 'compose.yml')
| -rw-r--r-- | compose.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..227fde0 --- /dev/null +++ b/compose.yml @@ -0,0 +1,53 @@ +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 |
