This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
86 lines (64 loc) · 1.72 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
name = "gendex-consumer"
main = "./dist/worker.mjs"
compatibility_date = "2023-06-19"
[build]
command = "npm run build:debug"
services = [
{ binding = "GENDEX_SERVICE", service = "gendex-dev" }
]
[[queues.producers]]
queue = "gendex-dev"
binding = "GENDEX_QUEUE"
[[queues.consumers]]
queue = "gendex-dev"
# PROD!
[env.production]
account_id = "fffa4b4363a7e5250af8357087263b3a"
[[env.production.queues.producers]]
queue = "gendex-production"
binding = "GENDEX_QUEUE"
[[env.production.queues.consumers]]
queue = "gendex-production"
dead_letter_queue = "gendex-dlq-production"
max_batch_size = 1
max_batch_timeout = 30
[env.production.build]
command = "npm run build"
[env.production.vars]
GENDEX_API_URL = "https://gendex.dag.haus"
[[env.production.services]]
binding = "GENDEX_SERVICE"
service = "gendex-production"
# Staging!
[env.staging]
account_id = "fffa4b4363a7e5250af8357087263b3a"
[[env.staging.queues.producers]]
queue = "gendex-staging"
binding = "GENDEX_QUEUE"
[[env.staging.queues.consumers]]
queue = "gendex-staging"
dead_letter_queue = "gendex-dlq-staging"
max_batch_size = 100
max_batch_timeout = 30
[env.staging.build]
command = "npm run build"
[env.staging.vars]
DEBUG = "true"
GENDEX_API_URL = "https://gendex-staging.dag.haus"
[[env.staging.services]]
binding = "GENDEX_SERVICE"
service = "gendex-staging"
# Developers! Developers! Developers!
[env.alanshaw]
workers_dev = true
account_id = "4fe12d085474d33bdcfd8e9bed4d8f95"
[[env.alanshaw.queues.producers]]
queue = "gendex-alanshaw"
binding = "GENDEX_QUEUE"
[[env.alanshaw.queues.consumers]]
queue = "gendex-alanshaw"
[env.alanshaw.vars]
DEBUG = "true"
[[env.alanshaw.services]]
binding = "GENDEX_SERVICE"
service = "gendex-alanshaw"