-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.example.toml
63 lines (53 loc) · 1.38 KB
/
wrangler.example.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
name = "cf-badger"
route = "https://cf-badger.com/*"
account_id = "_ACCOUNT_ID_"
zone_id = "_ZONE_ID_"
api_token = "_API_TOKEN_"
type = "javascript"
compatibility_date = "2021-09-09"
[vars]
WORKER_ENV = "production"
WORKER_URL = "https://cf-badger.com"
RELEASE = "_RELEASE_"
GITHUB_TOKEN = "_GITHUB_TOKEN"
BADGER_KV_ID = "_BADGER_KV_ID"
APP_ID= "_APP_ID"
GITHUB_CLIENT_ID= "_GITHUB_CLIENT_ID"
GITHUB_CLIENT_SECRET= "_GITHUB_CLIENT_SECRET"
SENTRY_DSN= ""
[durable_objects]
[[durable_objects.bindings]]
name = "Badger"
class_name = "Badger"
[[kv_namespaces]]
binding = "BADGER_KV"
preview_id = "_BADGER_KV_PREVIEW_ID"
id = "_BADGER_KV_ID"
[miniflare]
upstream = "https://cf-badger.com"
cache_persist = true
wrangler_env = "dev"
port = 8989
[env]
[env.dev]
workers_dev = true
[env.dev.vars]
WORKER_ENV = "development"
GITHUB_TOKEN = "_GITHUB_TOKEN"
WORKER_URL = "https://cf-badger.com"
RELEASE = "_RELEASE_"
BADGER_KV_ID = "_BADGER_KV_ID"
APP_ID= "_APP_ID"
SENTRY_DSN= ""
GITHUB_CLIENT_ID= "_GITHUB_CLIENT_ID"
GITHUB_CLIENT_SECRET= "_GITHUB_CLIENT_SECRET"
[[env.dev.kv_namespaces]]
binding = "BADGER_KV"
preview_id = "_BADGER_KV_PREVIEW_ID"
id = "_BADGER_KV_ID"
[build]
command = "yarn build "
[build.upload]
format = "modules"
dir = "dist"
main = "./index.mjs"