V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
SingeeKing
V2EX  ›  分享创造

利用 Cloudflare Workers 自建 Docker 镜像

  •  
  •   SingeeKing ·
    ImSingee · 13 天前 · 2670 次点击
    17 条回复    2024-06-12 16:54:45 +08:00
    yangg
        1
    yangg  
       13 天前
    这个文档站是自己部署的?还不错,速度快。
    iloveayu
        2
    iloveayu  
       13 天前
    @yangg Confluence 的云服务吧。
    luckycat
        3
    luckycat  
       13 天前   ❤️ 3
    很快就会犯法了,私自搭建非法镜像。
    ColoThor
        4
    ColoThor  
       13 天前
    wrangler 命令要在 npm 环境下执行,Cloudflare 网页执行不了?
    q8515620
        5
    q8515620  
       13 天前 via Android
    原来是搭建代理啊,看标题我还以为是用 workers 搭建类似 harbor 那种镜像仓库,还想看看到底是怎么实现的
    tallest
        6
    tallest  
       12 天前
    ⛅️ 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
        7
    SingeeKing  
    OP
       12 天前
    @tallest 这个还是用的旧版本 rust 写的的 wrangler ;我刚才已经更新了文档和仓库使用了新版的 wrangler 了,可以再试试
    tallest
        8
    tallest  
       12 天前
    @SingeeKing 好的,感谢大佬!
    oaa
        9
    oaa  
       11 天前
    挺奇怪。搭好了之后,用自定义域名访问,返回 404 ,说明浏览已经通了。访问/v2 就超时了。。。
    oaa
        10
    oaa  
       11 天前
    好吧。我的问题。。子路由要用 xx/*.
    可以用 npx wrangler tail 观察日志。挺好用的
    oaa
        11
    oaa  
       11 天前
    超棒。速度挺快。在阿里云和本地测下,都可用。
    xianzheng
        12
    xianzheng  
       10 天前
    @oaa 你好,子路由在哪里设置的,我弄好显示:404 page not found
    polarpy
        13
    polarpy  
       10 天前
    如果 contanerd 怎么用啊?
    polarpy
        14
    polarpy  
       9 天前
    可以改造成 yum 源吗?最近 yum 也上墙了
    oaa
        15
    oaa  
       8 天前
    @xianzheng 直接访问子域名 404 正常。试试 curl -v "https://子域名/v2" 看看返回是不是 200.
    xianzheng
        17
    xianzheng  
       8 天前
    @oaa 好的已经在用了,感谢~~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3115 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:46 · PVG 19:46 · LAX 04:46 · JFK 07:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.