Fix registry no need auth (#3)

* Migrate to wrangler2

* Support registry no need auth
This commit is contained in:
Yisheng Cai
2023-03-05 23:26:15 +08:00
committed by GitHub
parent 854b6cd022
commit 9ae8f6464f
3 changed files with 37 additions and 29 deletions

View File

@@ -1,15 +1,7 @@
name = "cloudflare-docker-proxy"
type = "webpack"
account_id = ""
workers_dev = true
route = ""
zone_id = ""
webpack_config = "webpack.config.js"
compatibility_date = "2021-12-07"
[dev]
ip = "0.0.0.0"
port = 8787
@@ -23,5 +15,5 @@ TARGET_UPSTREAM=""
[env.dev.vars]
MODE="debug"
LOCAL_ADDRESS="http://192.168.50.160:8787"
LOCAL_ADDRESS="http://192.168.10.102:8787"
TARGET_UPSTREAM="https://registry-1.docker.io"