-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
49 lines (37 loc) · 1.54 KB
/
wrangler.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
37
38
39
40
41
42
43
44
45
46
47
48
49
name = "rabbit-server-list"
main = "src/index.js"
compatibility_date = "2023-07-31"
kv_namespaces = [
{ binding = "KV", id = "8f6ee5b816384dc4a5736660603e0325" }
]
d1_databases = [
{ binding = "DB", database_name = "rabbit-server-list2", database_id = "352456ca-90b9-44d6-a0e2-2f0b5c0626a3" }
]
r2_buckets = [
{ binding = 'R2', bucket_name = 'rabbitserverlist' }
]
analytics_engine_datasets = [
{ binding = "MAE", dataset = "rabbit-server-list-minecraft" },
{ binding = "DAE", dataset = "rabbit-server-list-discord" }
]
queues.producers = [
{ queue = "rabbit-server-list-minecraft-vote", binding = "MVQU" }
]
queues.consumers = [
{ queue = "rabbit-server-list-minecraft-vote", max_batch_size = 10, max_batch_timeout = 5, max_retries = 10 }
]
durable_objects.bindings = [
{ name = "MVDO", class_name = "MinecraftVoteDO" },
{ name = "DVDO", class_name = "DiscordVoteDO" }
]
migrations = [
{ tag = "v1", new_classes = ["MinecraftVoteDO"] },
{ tag = "v2", new_classes = ["DiscordVoteDO"] }
]
triggers = { crons = ["0 0 1 * *", "0 0 * * *"] }
vars = { ACCOUNT_ID = "eb996327383b1ba7869926dcb856b4ae" }
# Don't forget to add CRAWLER_SECRET_TOKEN with: wrangler secret put CRAWLER_SECRET_TOKEN
# Don't forget to set the secret Cloudflare token with: wrangler secret put CF_TOKEN
# Don't forget to set the secret Cloudflare token with: wrangler secret put CF_TURNSTILE_TOKEN
# Don't forget to set the Discord Client ID with: wrangler secret put DISCORD_CLIENT_ID
# Don't forget to set the Discord Client Secret with: wrangler secret put DISCORD_CLIENT_SECRET