爱意满满的作品展示区。
SingeeKing
10.19D

利用 Cloudflare Workers 自建 Docker 镜像

  •  
  •   SingeeKing ·
    ImSingee · Jun 7, 2024 · 5886 views
    This topic created in 878 days ago, the information mentioned may be changed or developed.
    18 replies  •  2024-12-11 14:58:18 +08:00
    yangg
    yangg
    Jun 7, 2024
    1
    这个文档站是自己部署的?还不错,速度快。
    iloveayu
    iloveayu
    Jun 7, 2024
    2
    @yangg Confluence 的云服务吧。
    luckycat
    luckycat
    Jun 7, 2024❤️3
    3
    很快就会犯法了,私自搭建非法镜像。
    ColoThor
    ColoThor
    Jun 7, 2024
    4
    wrangler 命令要在 npm 环境下执行,Cloudflare 网页执行不了?
    q8515620
    q8515620
    Jun 7, 2024 via Android
    5
    原来是搭建代理啊,看标题我还以为是用 workers 搭建类似 harbor 那种镜像仓库,还想看看到底是怎么实现的
    tallest
    tallest
    Jun 8, 2024
    6
    ⛅️ wrangler 3.60.0
    -------------------

    ▲ [WARNING] Processing wrangler.toml configuration:

    - 😶 Ignored: "type":
    Most common features now work out of the box with wrangler, including modules, jsx,
    typescript, etc. If you need anything more, use a custom build.
    - 😶 Ignored: "webpack_config":
    Most common features now work out of the box with wrangler, including modules, jsx,
    typescript, etc. If you need anything more, use a custom build.
    - Deprecation: "zone_id":
    This is unnecessary since we can deduce this from routes directly.
    - The "route" field in your configuration is an empty string and will be ignored.
    Please remove the "route" field from your configuration.



    ✘ [ERROR] Missing entry-point: The entry-point should be specified via the command line (e.g. `wrangler deploy path/to/script`) or the `main` config field.

    执行 wrangler deploy 报这个错怎么办诶?
    SingeeKing
    SingeeKing
    OP
    Jun 8, 2024
    7
    @tallest 这个还是用的旧版本 rust 写的的 wrangler ;我刚才已经更新了文档和仓库使用了新版的 wrangler 了,可以再试试
    tallest
    tallest
    Jun 8, 2024
    8
    @SingeeKing 好的,感谢大佬!
    oaa
    oaa
    Jun 9, 2024
    9
    挺奇怪。搭好了之后,用自定义域名访问,返回 404 ,说明浏览已经通了。访问/v2 就超时了。。。
    oaa
    oaa
    Jun 9, 2024
    10
    好吧。我的问题。。子路由要用 xx/*.
    可以用 npx wrangler tail 观察日志。挺好用的
    oaa
    oaa
    Jun 9, 2024
    11
    超棒。速度挺快。在阿里云和本地测下,都可用。
    xianzheng
    xianzheng
    Jun 9, 2024
    12
    @oaa 你好,子路由在哪里设置的,我弄好显示:404 page not found
    polarpy
    polarpy
    Jun 10, 2024
    13
    如果 contanerd 怎么用啊?
    polarpy
    polarpy
    Jun 10, 2024
    14
    可以改造成 yum 源吗?最近 yum 也上墙了
    oaa
    oaa
    Jun 12, 2024
    15
    @xianzheng 直接访问子域名 404 正常。试试 curl -v "https://子域名/v2" 看看返回是不是 200.
    xianzheng
    xianzheng
    Jun 12, 2024
    17
    @oaa 好的已经在用了,感谢~~
    810244966
    810244966
    Dec 11, 2024
    18
    第 666 个 star :)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1536 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 23:15 · PVG 07:15 · LAX 15:15 · JFK 18:15
    ♥ Do have faith in what you're doing.