forked from cloudflare/orange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.staging.toml
61 lines (46 loc) · 1.65 KB
/
wrangler.staging.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
name = "orange-meets-staging"
account_id = "8477399eb04accc1792af96aeaa25222"
main = "./build/index.js"
# https://developers.cloudflare.com/workers/platform/compatibility-dates
compatibility_date = "2024-10-07"
compatibility_flags = ["nodejs_compat"]
[site]
bucket = "./public"
[[build.upload.rules]]
type = "ESModule"
globs = ["**/*.js"]
[[kv_namespaces]]
binding = "FEEDBACK_STORAGE"
id = "acb3952303514551a17b6fe627fb6953"
preview_id = "acb3952303514551a17b6fe627fb6953"
[[durable_objects.bindings]]
name = "rooms"
class_name = "ChatRoom"
[vars]
CALLS_APP_ID = "9effffd0c077c1115c7d285e55593a9a"
TURN_SERVICE_ID = "11cebcf8429b947a48c6894650daa021"
[[queues.producers]]
queue = "orange-meets-feedback-queue-staging"
binding = "FEEDBACK_QUEUE"
[[queues.consumers]]
queue = "orange-meets-feedback-queue-staging"
# Required: this should match the name of the queue you created in step 3.
# If you misspell the name, you will receive an error when attempting to publish your Worker.
max_batch_size = 10 # optional: defaults to 10
max_batch_timeout = 5 # optional: defaults to 5 seconds
[[d1_databases]]
binding = "DB" # i.e. available in your Worker on env.DB
database_name = "orange-meets-db-staging"
database_id = "e9091e61-7e0a-4719-b9cb-3e1c3e95e9fa"
# Indicate that you want the ChatRoom and RateLimiter classes to be callable as Durable Objects.
[[migrations]]
tag = "v1" # Should be unique for each entry
new_classes = ["ChatRoom", "RateLimiter"]
[[migrations]]
tag = "v2"
deleted_classes = ["RateLimiter"]
[observability]
enabled = true
# The necessary secrets are:
# - CALLS_APP_SECRET
# Run `echo <VALUE> | wrangler secret put <NAME>` for each of these