fix: point app registry and repository to jayhub.top

This commit is contained in:
2026-10-02 13:01:33 +08:00
parent b88b173dc4
commit 765c0ed0ad
3 changed files with 9 additions and 40 deletions
+7 -38
View File
@@ -28,7 +28,7 @@
当前应用使用:
```text
45.207.223.190:10082/mrlee/havline:${TRIM_APPVER}
jayhub.top/mrlee/havline:${TRIM_APPVER}
```
对应标签需要包含:
@@ -38,52 +38,21 @@ linux/amd64
linux/arm64
```
如果 Gitea 容器仓库使用 HTTP 而不是 HTTPS,飞牛设备还需要把该地址加入 Docker
`insecure-registries`,否则 `docker compose pull` 会失败。
新地址已经使用 HTTPS,不需要再配置 `insecure-registries`。
错误示例:
```text
Get "https://45.207.223.190:10082/v2/": http: server gave HTTP response to HTTPS client
```
飞牛设备处理方式:
1. 编辑 Docker 配置:
验证镜像:
```bash
sudo vi /etc/docker/daemon.json
docker pull jayhub.top/mrlee/havline:1.9.0
```
2. 如果文件为空,写入:
```json
{
"insecure-registries": [
"45.207.223.190:10082"
]
}
```
如果已有 `daemon.json`,只合并 `insecure-registries` 字段,不要删除已有配置。
3. 重启 Docker 并验证:
如果仓库不是公开可拉取,先登录:
```bash
sudo systemctl restart docker
docker pull 45.207.223.190:10082/mrlee/havline:1.9.0
docker login jayhub.top
```
4. 如果 Gitea 仓库不是公开可拉取,先登录:
```bash
docker login 45.207.223.190:10082
```
5. 拉取成功后重新安装 `havline-1.9.0.fpk`。
正式发布建议:给 Gitea 容器仓库配置 HTTPS,并使用域名或 HTTPS 端口作为镜像地址。
这样用户可以安装应用,而不需要修改 Docker daemon 配置。
拉取成功后重新安装 `havline-1.9.0.fpk`。
## 打包
+1 -1
View File
@@ -1,6 +1,6 @@
services:
havline:
image: 45.207.223.190:10082/mrlee/havline:${TRIM_APPVER}
image: jayhub.top/mrlee/havline:${TRIM_APPVER}
container_name: havline
restart: unless-stopped
ports:
+1 -1
View File
@@ -5,7 +5,7 @@ desc = NAS 公网访问管理:反向代理、DDNS、HTTPS 证
platform = all
source = thirdparty
maintainer = Havline
maintainer_url = http://45.207.223.190:10082/mrlee/Havline
maintainer_url = https://jayhub.top/mrlee/Havline
distributor = Havline
desktop_uidir = ui
desktop_applaunchname = havline.main