Lazy loaded image
choreo.dev上部署one-hub/done-hub
字数 292阅读时长 1 分钟
2025-8-4
2025-8-4
温馨提醒
这篇文章发布于 121 天前,内容可能已过时,请谨慎参考。
type
status
date
slug
summary
tags
category
icon
password

准备工作

  1. forkhttps://github.com/MartialBE/one-hub或者https://github.com/deanxv/done-hub, 下面以done-hub为例
  1. 新建Dockerfile-choreo, 把 Dockerfile的内容复制到Dockerfile-choreo中, 在运行命令前面加上USER 10014, 这一步尤其重要, 可参考文件:done-hub/Dockerfile-choreo at main · showyourlucky/done-hub · GitHub
notion image
点击进行"Component"创建
notion image
  1. 选择Web Application创建
  1. 选择Use Public GitHubRepository
  1. 填入fork的github地址
  1. 取一个组件名称
  1. 选择docker为构建方式
  1. 选择Dockerfile-choreo文件
  1. 填写3000端口
  1. 点击构建
  1. 构建时间比较长, 可以趁这个时间填写环境变量, 设置挂载目录
notion image

设置环境变量

  • USER_TOKEN_SECRET必须设置, TZ=Asia/Shanghai建议设置, 其它选项参考环境变量
notion image
notion image

设置挂载路径

  • 挂载/data的路径
notion image
到这里等待容器启动, 应该就没什么问题了, 后续可以在setting-URL Settings中设置自定义域名
 

后记

如果要部署其他的项目,大概的流程与此是类似的,步骤流程是一样的
 
上一篇
Serv00搭建Gemini Balance教程
下一篇
通过赛博看房顺手获取KYC

评论
Loading...