-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml.template
More file actions
32 lines (26 loc) · 1.16 KB
/
wrangler.toml.template
File metadata and controls
32 lines (26 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name = "gemini-cli-proxy"
main = "src/index.ts"
compatibility_date = "2025-09-11"
workers_dev = true
compatibility_flags = ["nodejs_compat"]
# --- KV Namespaces ---
# IMPORTANT: Replace the placeholder ID below with your actual Cloudflare KV namespace ID
# You can find this in your Cloudflare dashboard or create a new namespace
kv_namespaces = [
{ binding = "GEMINI_CLI_LOADBALANCE", id = "YOUR_KV_NAMESPACE_ID_HERE" }
]
#[vars]
# Store per-credential JSON files in the repository's "oauth creds/" directory (this directory is gitignored),
# then push them to Cloudflare using `wrangler secret put` or the included helper script:
# npm run push-secrets # dry-run
# npm run push-secrets:run # actually push
# Do NOT keep OAuth JSON blobs or `.dev.vars` in `wrangler.toml` or in the git history.
# --- Local Development Configuration ---
# This section configures local development with Docker and miniflare
[dev]
ip = "0.0.0.0" # Bind to all interfaces for Docker access
port = 8787 # Port for local development server
# Note: --persist-to flag in Docker handles storage location
# wrangler.toml (wrangler v3.88.0^)
[observability.logs]
enabled = true