generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
122 lines (95 loc) · 4.19 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
###############################################################
### SECTION 1: General Configuration ###
###############################################################
# Worker name
name = "auth0-service"
# Entrypoint/path to the file that will be executed
main = "src/index.ts"
# Date in yyyy-mm-dd to determine which version of Workers runtime to use
# Details: https://developers.cloudflare.com/workers/platform/compatibility-dates/
compatibility_date = "2022-05-24"
# Usage model for the Worker
# Details: https://developers.cloudflare.com/workers/platform/limits
usage_model = "bundled"
###############################################################
### SECTION 2: Production Environment ###
###############################################################
# Deploy to NAME.SUBDOMAIN.workers.dev?
# @default `true`
workers_dev = true
# Route to publish the Worker
route = { pattern = "auth0-service.cheqd.net/*", zone_id = "88e06eefedbbd140a12ac3dd1b21a7af" }
# KV Namespaces accessible from the Worker
# Details: https://developers.cloudflare.com/workers/learning/how-kv-works
# @default `[]`
# kv_namespaces = [
# { binding = "", preview_id = "", id = "" }
# ]
# Map of environment variables to set when deploying the Worker
# Not inherited. @default `{}`
[vars]
# Auth0 settings
AUTH0_DOMAIN = "https://cheqd.eu.auth0.com"
AUTH0_CLIENT_ID = "XZoup26nKUVVtxdtuvcxXiIq6NPhzKoh"
AUTH0_REDIRECT_URI = "https://cheqd.eu.auth0.com/login/callback"
AUTH0_URI = "https://cheqd.eu.auth0.com/userinfo"
###############################################################
### SECTION 3: Local Development ###
###############################################################
# Configuration options for local development via Wrangler
[dev]
# IP address for the local dev server to listen on
# @default `localhost`
ip = "localhost"
# Port for the local dev server to listen on
# @default `8787`
port = 8787
# Protocol that local wrangler dev server listens to requests on
# @default `http`
local_protocol = "http"
###############################################################
### SECTION 4: Staging Environment ###
###############################################################
[env.staging]
# Worker name - Staging Environment
name = "auth0-service-staging"
# Deploy to NAME.SUBDOMAIN.workers.dev?
# @default `true`
workers_dev = true
# Route to publish the Worker
route = { pattern = "auth0-service-staging.cheqd.net/*", zone_id = "88e06eefedbbd140a12ac3dd1b21a7af" }
# Map of environment variables to set when deploying the Worker
# Not inherited. @default `{}`
vars = { ENVIRONMENT = "staging", AUTH0_DOMAIN = "https://cheqd.eu.auth0.com", AUTH0_CLIENT_ID = "XZoup26nKUVVtxdtuvcxXiIq6NPhzKoh", AUTH0_REDIRECT_URI = "https://cheqd.eu.auth0.com/login/callback", AUTH0_URI = "https://cheqd.eu.auth0.com/userinfo" }
# KV Namespaces accessible from the Worker
# Details: https://developers.cloudflare.com/workers/learning/how-kv-works
# @default `[]`
# kv_namespaces = [
# { binding = "", preview_id = "", id = "" }
# ]
###############################################################
### OPTIONAL: Build Configuration ###
###############################################################
# NOTE: THIS IS A TOP-LEVEL CONFIGURATION AND NEEDS TO BE MOVED IF USED
# Optional custom build step when using Wrangler CLI for build
# Details: https://developers.cloudflare.com/workers/wrangler/custom-builds/
# @default {}
# [build]
# # Custom build command. On Linux and macOS, the command is executed in
# # the `sh` shell and the `cmd` shell for Windows.
# # The `&&` and `||` shell operators may be used.
# command = ""
# # The directory in which the command is executed.
# cwd = "./src"
# # The directory to watch for changes while using `wrangler dev`,
# # defaults to the current working directory
# watch_dir = ""
# List of data files that the Worker should be bound to. This is
# the legacy way of binding to a data file. ES module Workers should
# do proper module imports.
#[data_blobs]
# DATA = ""
# Minify before uploading?
# minify = "false"
# Add polyfills for node builtin modules and globals?
node_compat = true