Files
cloudflare-docker-proxy/wrangler.toml
Yinr 9bb87fe8ef 更新 wrangler.toml
use lolicon.in
2024-09-18 12:28:39 +08:00

36 lines
929 B
TOML

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.lolicon.in", custom_domain = true },
{ pattern = "quay.lolicon.in", custom_domain = true },
{ pattern = "gcr.lolicon.in", custom_domain = true },
{ pattern = "k8s-gcr.lolicon.in", custom_domain = true },
{ pattern = "k8s.lolicon.in", custom_domain = true },
{ pattern = "ghcr.lolicon.in", custom_domain = true },
{ pattern = "cloudsmith.lolicon.in", custom_domain = true },
]
[env.production.vars]
MODE = "production"
TARGET_UPSTREAM = ""
[env.staging]
name = "cloudflare-docker-proxy-staging"
# route = { pattern = "docker-staging.libcuda.so", custom_domain = true }
[env.staging.vars]
MODE = "staging"
TARGET_UPSTREAM = ""