feat: add cloudflare workers deployment
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"main": ".open-next/worker.js",
|
||||
"name": "geo-agent-article-optimizer",
|
||||
"compatibility_date": "2026-06-16",
|
||||
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
|
||||
"assets": {
|
||||
"directory": ".open-next/assets",
|
||||
"binding": "ASSETS"
|
||||
},
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 0.1
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"binding": "WORKER_SELF_REFERENCE",
|
||||
"service": "geo-agent-article-optimizer"
|
||||
}
|
||||
],
|
||||
"vars": {
|
||||
"APP_RUNTIME": "cloudflare",
|
||||
"LLM_PROVIDER": "deepseek",
|
||||
"DEEPSEEK_BASE_URL": "https://api.deepseek.com",
|
||||
"DEEPSEEK_MODEL": "deepseek-v4-pro",
|
||||
"DEEPSEEK_THINKING": "disabled",
|
||||
"OPENAI_MODEL": "gpt-4.1-mini"
|
||||
},
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_name": "geo-agent-article-optimizer-local",
|
||||
"database_id": "00000000-0000-0000-0000-000000000001",
|
||||
"migrations_dir": "migrations"
|
||||
}
|
||||
],
|
||||
"r2_buckets": [
|
||||
{
|
||||
"binding": "EXPORT_BUCKET",
|
||||
"bucket_name": "geo-agent-article-optimizer-local"
|
||||
}
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
Reference in New Issue
Block a user