-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
139 lines (133 loc) · 4.51 KB
/
wrangler.jsonc
File metadata and controls
139 lines (133 loc) · 4.51 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "algorand-remote-mcp-lite",
"main": "src/index.ts",
"workers_dev": true,
"preview_urls": false,
"compatibility_date": "2025-03-10",
"compatibility_flags": ["nodejs_compat"],
"route": {
"pattern": "algorandmcplite.goplausible.xyz/*",
"zone_id": "592cbc5d1b3eec4db482306cbc966e1d"
},
"migrations": [
{
"new_sqlite_classes": ["AlgorandRemoteMCPLite"],
"tag": "v1"
}
],
"durable_objects": {
"bindings": [
{
"class_name": "AlgorandRemoteMCPLite",
"name": "AlgorandRemoteMCPLite"
}
]
},
"services": [
{ "service": "hashicorp-vault-worker", "binding": "HCV_WORKER" }
],
/**
* PLAUSIBLE_AI bucket
* is a property of GoPlausible used for public implementation and you need to make an R2 bucket on cloudflare and configure it here. Use the open data in knowledge folder of server package resources and you find all files to upload to your R2 bucket there. Use taxonomic naming for your uploads and maintain the file naming coming from server package.
*/
"r2_buckets": [
{
"binding": "PLAUSIBLE_AI",
"bucket_name": "plausibleai"
}
],
"kv_namespaces": [
{
"binding": "OAUTH_KV",
"id": "da4b082a50724566abe044b79b70ce7d"
},
{
"binding": "VAULT_ENTITIES",
"id": "eb58182f525a4260a51927f03d6b42a8"
},
{
"binding": "CODE_VERIFIER_KV",
"id": "69c21dd2c8d64c2f9ff8563c40d7ab6f"
},
{
"binding": "ARC26_KV",
"id": "90b157592d5b40dfae2c501a8d4f8291"
},
{
"binding": "VERIFIED_ASSETS",
"id": "60fa6525420a4588b33acd87ee437b77"
},
{
"binding": "A2A_AP2_STORE",
"id": "e75975e4855442c488a258f44d8635ae"
}
],
"observability": {
"enabled": false
},
/**
* Environment Variables
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
*/
"vars": {
"ALGORAND_NETWORK": "mainnet",
"ALGORAND_ALGOD_API": "https://mainnet-api.algonode.cloud/v2",
"ALGORAND_ALGOD": "https://mainnet-api.algonode.cloud",
"ALGORAND_INDEXER_API": "https://mainnet-idx.algonode.cloud/v2",
"ALGORAND_INDEXER": "https://mainnet-idx.algonode.cloud",
"ALGORAND_ALGOD_PORT": "",
"ALGORAND_INDEXER_PORT": "",
"NFD_API_URL": "https://api.nf.domains",
"PERA_WALLET_API_URL": "https://mainnet.api.perawallet.app/v1/public",
"PERA_EXPLORER_URL": "https://explorer.perawallet.app",
"ITEMS_PER_PAGE": "10",
"HCV_WORKER_URL": "https://hashicorp-vault-worker.emg110.workers.dev"
}
/* Secrets */
// "secrets": {
// "ALGORAND_TOKEN": "your_algorand_token_here",
// "VAULT_OIDC_ACCESSOR": "your_vault_oidc_accessor_here",
// "HCV_TOKEN": "your_hashicorp_vault_token_here",
// "GOOGLE_CLIENT_SECRET": "your_google_client_secret_here",
// "GOOGLE_CLIENT_ID": "your_google_client_id_here",
// "GITHUB_CLIENT_SECRET": "your_github_client_secret_here",
// "GITHUB_CLIENT_ID": "your_github_client_id_here",
// "LINKEDIN_CLIENT_SECRET": "your_linkedin_client_secret_here",
// "LINKEDIN_CLIENT_ID": "your_linkedin_client_id_here",
// "COOKIE_ENCRYPTION_KEY": "your_cookie_encryption_key_here"
// "TWITTER_CLIENT_SECRET": "your_twitter_client_secret_here",
// "TWITTER_CLIENT_ID": "your_twitter_client_id_here"
// },
/**
* Smart Placement
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
*/
// "placement": { "mode": "smart" },
/**
* Bindings
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
* databases, object storage, AI inference, real-time communication and more.
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
*/
/**
* For reference on how to set up environment variables, see above 'vars' section.
*
* For setting up secrets:
* https://developers.cloudflare.com/workers/configuration/secrets/
*/
/**
* Static Assets
* https://developers.cloudflare.com/workers/static-assets/binding/
*/
// "assets": { "directory": "./public/", "binding": "ASSETS" },
/**
* Service Bindings (communicate between multiple Workers)
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
*/
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
}