forked from ciiiii/cloudflare-docker-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
39 lines (32 loc) · 966 Bytes
/
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
name = "cloudflare-docker-proxy"
compatibility_date = "2023-12-01"
[dev]
ip = "0.0.0.0"
port = 8787
local_protocol = "http"
[env.dev.vars]
MODE = "debug"
TARGET_UPSTREAM = "https://registry-1.docker.io"
[env.production]
name = "cloudflare-docker-proxy"
routes = [
{ pattern = "docker.whb.plus", custom_domain = true },
{ pattern = "quey.whb.plus", custom_domain = true },
{ pattern = "gcr.whb.plus", custom_domain = true },
{ pattern = "k8s-gcr.whb.plus", custom_domain = true },
{ pattern = "k8s.whb.plus", custom_domain = true },
{ pattern = "ghcr.whb.plus", custom_domain = true },
{ pattern = "cloudsmith.whb.plus", custom_domain = true },
]
[observability]
enabled = true
head_sampling_rate = 1
[env.production.vars]
MODE = "production"
TARGET_UPSTREAM = ""
[env.staging]
name = "cloudflare-docker-proxy-staging"
route = { pattern = "docker-staging.whb.plus", custom_domain = true }
[env.staging.vars]
MODE = "staging"
TARGET_UPSTREAM = ""