-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
39 lines (33 loc) · 1.13 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
#:schema node_modules/wrangler/config-schema.json
name = "tickets-images-worker"
main = "src/index.ts"
compatibility_date = "2024-09-25"
observability = { enabled = true }
compatibility_flags = ["nodejs_compat"]
kv_namespaces = [
{ binding = "TICKETS_QR_IMAGES", id = "aa45c255f6f441dda71e45b0c11f132a", preview_id = "b297786957b249dca99978fad2cf95cb" }
]
[vars]
API_URL = "http://localhost:50123/graphql"
APP_ENV = "localhost"
TTL_EN_SEGUNDOS = 60
[env.staging]
name = "tickets-images-worker-staging"
observability = { enabled = true }
kv_namespaces = [
{ binding = "TICKETS_QR_IMAGES", id = "aa45c255f6f441dda71e45b0c11f132a", preview_id = "b297786957b249dca99978fad2cf95cb" }
]
[env.staging.vars]
API_URL = "https://api.jsconf.dev/graphql"
APP_ENV = "staging"
TTL_EN_SEGUNDOS = 60
[env.production]
name = "tickets-images-worker-production"
observability = { enabled = true }
kv_namespaces = [
{ binding = "TICKETS_QR_IMAGES", id = "47adcdcd224842dca5b5c91bd51e3f90", preview_id = "47b219e92f9a4f68980f5f5c84cc7218" }
]
[env.production.vars]
API_URL = "https://api.communityos.io/graphql"
APP_ENV = "production"
TTL_EN_SEGUNDOS = 600