forked from discohook/discohook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
100 lines (85 loc) · 3.34 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
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
name = "discohook-bot"
main = "./src/server.ts"
compatibility_date = "2023-05-18"
node_compat = true
kv_namespaces = [
{ binding = "OLD_KV", id = "29967d1631d24846a448e8d2bcc49a5b", preview_id = "03d176ba6dbd4a2daa2f63f9f8f8bb4b" },
]
services = [{ binding = "SITE", service = "discohook-site" }]
[vars]
ENVIRONMENT = "dev"
PREMIUM_SKUS = ["1249810125418397867"]
LIFETIME_SKU = "1266826214807572542"
[durable_objects]
bindings = [
{ name = "COMPONENTS", class_name = "DurableComponentState" },
{ name = "DRAFT_CLEANER", class_name = "DurableDraftComponentCleaner", script_name = "discohook-site" },
{ name = "SHARE_LINKS", class_name = "ShareLinks", script_name = "discohook-site" },
{ name = "EMOJIS", class_name = "EmojiManager" },
{ name = "SESSIONS", class_name = "SessionManager", script_name = "discohook-site" },
]
[[migrations]]
tag = "v1"
new_classes = ["DurableComponentState"]
[[migrations]]
tag = "v2"
new_classes = ["EmojiManager"]
[env.preview]
route = { pattern = "bots.preview.discohook.app", custom_domain = true }
kv_namespaces = [{ binding = "OLD_KV", id = "03d176ba6dbd4a2daa2f63f9f8f8bb4b" }]
hyperdrive = [
{ binding = "HYPERDRIVE", id = "f8f714cc2701467cacf61b203ccd933a" },
]
services = [{ binding = "SITE", service = "discohook-site-preview" }]
[env.preview.durable_objects]
bindings = [
{ name = "COMPONENTS", class_name = "DurableComponentState" },
{ name = "DRAFT_CLEANER", class_name = "DurableDraftComponentCleaner", script_name = "discohook-site-preview" },
{ name = "SHARE_LINKS", class_name = "ShareLinks", script_name = "discohook-site-preview" },
{ name = "EMOJIS", class_name = "EmojiManager" },
{ name = "SESSIONS", class_name = "SessionManager", script_name = "discohook-site-preview" },
]
[[env.preview.migrations]]
tag = "v1"
new_classes = ["DurableComponentState"]
[[env.preview.migrations]]
tag = "v2"
new_classes = ["EmojiManager"]
[env.preview.vars]
ENVIRONMENT = "preview"
DISCORD_APPLICATION_ID = "1259876010627694662"
PREMIUM_SKUS = []
LIFETIME_SKU = ""
DISCOHOOK_ORIGIN = "https://preview.discohook.app"
[env.production]
route = { pattern = "bots.discohook.app", custom_domain = true }
kv_namespaces = [{ binding = "OLD_KV", id = "29967d1631d24846a448e8d2bcc49a5b" }]
hyperdrive = [
{ binding = "HYPERDRIVE", id = "9568cd870bee47f3801c862de747ca94" },
]
services = [{ binding = "SITE", service = "discohook-site-production" }]
[env.production.placement]
mode = "smart"
[env.production.durable_objects]
bindings = [
{ name = "COMPONENTS", class_name = "DurableComponentState" },
{ name = "DRAFT_CLEANER", class_name = "DurableDraftComponentCleaner", script_name = "discohook-site-production" },
{ name = "SHARE_LINKS", class_name = "ShareLinks", script_name = "discohook-site-production" },
{ name = "EMOJIS", class_name = "EmojiManager" },
{ name = "SESSIONS", class_name = "SessionManager", script_name = "discohook-site-production" },
]
[[env.production.migrations]]
tag = "v1"
new_classes = ["DurableComponentState"]
[[env.production.migrations]]
tag = "v2"
new_classes = ["EmojiManager"]
[env.production.vars]
ENVIRONMENT = "production"
DISCORD_APPLICATION_ID = "792842038332358656"
PREMIUM_SKUS = ["1249810125418397867"]
LIFETIME_SKU = "1266826214807572542"
DISCOHOOK_ORIGIN = "https://discohook.app"
GUILD_ID = "668218342779256857"
DONATOR_ROLE_ID = "747100568539103242"
SUBSCRIBER_ROLE_ID = "1251181202518315210"