forked from ciiiii/cloudflare-docker-proxy
-
Notifications
You must be signed in to change notification settings - Fork 86
/
wrangler.toml
35 lines (29 loc) · 911 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
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.lixd.xyz", custom_domain = true },
{ pattern = "quay.lixd.xyz", custom_domain = true },
{ pattern = "gcr.lixd.xyz", custom_domain = true },
{ pattern = "k8s-gcr.lixd.xyz", custom_domain = true },
{ pattern = "k8s.lixd.xyz", custom_domain = true },
{ pattern = "ghcr.lixd.xyz", custom_domain = true },
{ pattern = "cloudsmith.lixd.xyz", custom_domain = true },
]
[env.production.vars]
MODE = "production"
TARGET_UPSTREAM = ""
[env.staging]
name = "cloudflare-docker-proxy-staging"
route = { pattern = "docker-staging.lixd.xyz", custom_domain = true }
[env.staging.vars]
MODE = "staging"
TARGET_UPSTREAM = ""