forked from beilunyang/img-mom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.example.toml
36 lines (30 loc) · 978 Bytes
/
wrangler.example.toml
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
name = "img-mom"
main = "dist/worker.js"
compatibility_date = "2024-02-11"
account_id = ""
# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
# Note: Use secrets to store sensitive data.
# Docs: https://developers.cloudflare.com/workers/platform/environment-variables
[vars]
TG_BOT_TOKEN = ""
TG_WEBHOOK_SECRET_TOKEN = ""
TG_BOT_OWNER_USERNAME = ""
TG_BOT_ALLOW_ANYONE = ""
R2_CUSTOM_DOMAIN = ""
B2_KEY_ID = ""
B2_SECRET_KEY = ""
B2_ENDPOINT = ""
B2_BUCKET = ""
B2_CUSTOM_DOMAIN = ""
# Bind a KV Namespace. Use KV as persistent storage for small key-value pairs.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/kv
[[kv_namespaces]]
binding = "KV_IMG_MOM"
id = ""
# Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files.
# Docs: https://developers.cloudflare.com/r2/api/workers/workers-api-usage/
[[r2_buckets]]
binding = "R2_IMG_MOM"
bucket_name = ""
[build]
command = "npm run build"