-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
52 lines (48 loc) · 1.47 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
name = "lwe-dev"
main = "./src/index.js"
usage_model = "bundled"
workers_dev = true
compatibility_date = "2022-06-21"
[vars]
NAMEPLATE = "Rethink DNS + Firewall"
TAGLINE = "Security & privacy for your Android devices."
LWE_PATH = "https://lwe-dev.local/"
LANDING = "https://rethinkdns.local/"
LOGINPAGE = "https://rethinkdns.local/login/"
SENDER = "Rethink <[email protected]>"
MAGICLINK_VALIDITY_MINS = 5
DEBUG = true
ACTUALLY_SEND_EMAILS = false
##################
#------PROD------#
##################
# wrangler doesn't yet support Workers Services and the new "Environments"
# github.com/cloudflare/cloudflare-docs/pull/3175/files
# github.com/cloudflare/wrangler2/issues/27
# developers.cloudflare.com/workers/platform/environments
[env.prod]
name = "lwe"
routes = [
"lwe.rethinkdns.com/*",
"lwe.bravedns.com/*",
]
[env.prod.vars]
DEBUG = false
ACTUALLY_SEND_EMAILS = true
NAMEPLATE = "Rethink DNS + Firewall"
TAGLINE = "Security & privacy for your Android devices."
# LWE_PATH must be same as routes defined above
LWE_PATH = "https://lwe.rethinkdns.com/"
LANDING = "https://www.rethinkdns.com/"
LOGINPAGE = "https://rethinkdns.com/login/"
SENDER = "Rethink <[email protected]>"
MAGICLINK_VALIDITY_MINS = 2
##################
#-----SECRETS----#
##################
# for documentation purposes only
# developers.cloudflare.com/workers/platform/environment-variables/#adding-secrets-via-wrangler
# [secrets]
# LWE_SECRET_KEY_MAC_A = ""
# LWE_SECRET_KEY_AES_A = ""
# DKIM_B64_PK_PEM = ""