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 | |
| parent | 9f14edf2b97286e02830d528038b32d5b31aaa0a (diff) | |
| parent | 0278c87f062a9ae7d617b92be22b175558a05086 (diff) | |
| download | gemini-py-main.tar.gz gemini-py-main.zip | |
Diffstat (limited to 'compose')
| -rw-r--r-- | compose/base/gemini-py.yml | 8 | ||||
| -rw-r--r-- | compose/scenarios/standalone.yml | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/compose/base/gemini-py.yml b/compose/base/gemini-py.yml new file mode 100644 index 0000000..76b5507 --- /dev/null +++ b/compose/base/gemini-py.yml @@ -0,0 +1,8 @@ +services: + gemini-py: + build: + context: ../.. + dockerfile: test/Dockerfile.gemini-py + environment: + - TEST_PROMPT=${TEST_PROMPT:-Say hi in exactly 3 words} + - TEST_MODE=${TEST_MODE:-single} diff --git a/compose/scenarios/standalone.yml b/compose/scenarios/standalone.yml new file mode 100644 index 0000000..909b8fd --- /dev/null +++ b/compose/scenarios/standalone.yml @@ -0,0 +1,20 @@ +# Standalone Test Scenario +# +# Runs gemini-py directly against the live Gemini API — no proxy, no mitmproxy. +# Overrides the Dockerfile entrypoint to skip the CA-cert wait logic. +# Requires .env with GEMINI_REFRESH_TOKEN (see .env.example). +# +# Usage: +# just test-docker # basic send_test.py +# just test-docker-tools # tool-calling test + +name: gemini-py-standalone + +include: + - path: ../base/gemini-py.yml + +services: + gemini-py: + env_file: ../../.env + entrypoint: ["python3"] + command: ["/app/scripts/send_test.py"] |
