-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
79 lines (79 loc) · 1.69 KB
/
wrangler.jsonc
File metadata and controls
79 lines (79 loc) · 1.69 KB
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
{
"workers_dev": true,
"name": "based-chess-worker-nextjs",
"compatibility_date": "2024-11-18",
"compatibility_flags": ["nodejs_compat"],
"main": ".open-next/worker.js",
"assets": {
"directory": ".open-next/assets"
},
"minify": true,
"observability": {
"enabled": true,
"head_sampling_rate": 1
},
"env": {
"staging": {
"name": "based-chess-worker-nextjs-staging",
"vars": {
"ENVIRONMENT": "staging",
"CHAIN_ID": "84532"
// "NEXT_PUBLIC_URL": "https://staging.basedchess.xyz",
// "NEXT_PUBLIC_WORKER_DOMAIN": "chess-worker-staging.johnsgresham.workers.dev"
},
// "build": {
// "command": "NODE_ENV=staging npm run build"
// },
"durable_objects": {
"bindings": [
{
"name": "CHESS_GAME",
"class_name": "ChessGame",
"script_name": "chess-worker-staging"
}
]
},
"services": [
{
"binding": "RPC_SERVICE",
"service": "chess-worker",
"entrypoint": "SessionsRPC"
}
],
"routes": [
{
"pattern": "staging.basedchess.xyz/*",
"zone_name": "basedchess.xyz"
}
]
},
"production": {
"name": "based-chess-worker-nextjs-prod",
"vars": {
"ENVIRONMENT": "production",
"CHAIN_ID": "8453"
// "NEXT_PUBLIC_WORKER_DOMAIN": "chess-worker.johnsgresham.workers.dev",
// "NEXT_PUBLIC_URL": "https://basedchess.xyz"
},
"routes": [
{
"pattern": "basedchess.xyz/*",
"zone_name": "basedchess.xyz"
},
{
"pattern": "www.basedchess.xyz/*",
"zone_name": "basedchess.xyz"
}
],
"durable_objects": {
"bindings": [
{
"name": "CHESS_GAME",
"class_name": "ChessGame",
"script_name": "chess-worker"
}
]
}
}
}
}