Jelajahi Sumber

【维护,构建】升级 dsh 版本至 0.1.0-rc.7

github-actions[bot] 3 bulan lalu
induk
melakukan
34014bd062
4 mengubah file dengan 8 tambahan dan 8 penghapusan
  1. 3 3
      Dockerfile
  2. 2 2
      README.md
  3. 2 2
      README.zh.md
  4. 1 1
      docker-compose.yml

+ 3 - 3
Dockerfile

@@ -7,9 +7,9 @@
 #
 # Single container: dsh (127.0.0.1:3080) + Caddy basic auth (0.0.0.0:3081), managed by supervisord
 #
-# 构建:docker build --build-arg DSH_VERSION=0.1.0-rc.6 -t dsh-web:latest .
+# 构建:docker build --build-arg DSH_VERSION=0.1.0-rc.7 -t dsh-web:latest .
 #
-# Build: docker build --build-arg DSH_VERSION=0.1.0-rc.6 -t dsh-web:latest .
+# Build: docker build --build-arg DSH_VERSION=0.1.0-rc.7 -t dsh-web:latest .
 #
 # 多阶段:builder 阶段含编译工具链(node-pty/sharp 等 native 依赖),
 # 运行镜像只 COPY 编译产物,不含 gcc/make/python-dev 痕迹
@@ -17,7 +17,7 @@
 # Multi-stage: the builder stage holds the toolchain for native deps (node-pty/sharp);
 # the runtime image only copies compiled artifacts, with no gcc/make/python-dev remnants
 
-ARG DSH_VERSION=0.1.0-rc.6
+ARG DSH_VERSION=0.1.0-rc.7
 
 # Caddy 官方镜像
 # 静态二进制,与平台无关

+ 2 - 2
README.md

@@ -30,7 +30,7 @@ docker compose up -d    # pull the latest image and start
 ```bash
 docker compose up -d --build
 # or pin a dsh version:
-docker build --build-arg DSH_VERSION=0.1.0-rc.6 -t dsh-web:latest .
+docker build --build-arg DSH_VERSION=0.1.0-rc.7 -t dsh-web:latest .
 ```
 
 After startup, open `http://<host>:3080` in a browser (the port is controlled by `DSH_WEB_PORT` in `.env`) and enter the Basic Auth username and password.
@@ -44,7 +44,7 @@ After startup, open `http://<host>:3080` in a browser (the port is controlled by
 | `DEEPSEEK_API_KEY` | Yes | None | DeepSeek API Key (referenced by the provider via apiKeyEnv) |
 | `DSH_WEB_PORT` | No | `3080` | Host port exposed to the outside (change it when it conflicts with an existing service) |
 | `DSH_TRUSTED_HOSTS` | No | Empty | Comma-separated extra trusted hosts, injected into the profile's `cordis.patch.yml` (only when the file is absent or still the empty template; user-maintained files are skipped — edit the file directly); by default Caddy rewrites Host/Origin to loopback, which covers normal access |
-| `DSH_VERSION` | No (build-time) | `0.1.0-rc.6` | dsh version; rebuild with `--build` after changing it |
+| `DSH_VERSION` | No (build-time) | `0.1.0-rc.7` | dsh version; rebuild with `--build` after changing it |
 
 > `.env` contains passwords and the API Key — never commit it to the repository.
 

+ 2 - 2
README.zh.md

@@ -30,7 +30,7 @@ docker compose up -d    # 拉取 latest 镜像并启动
 ```bash
 docker compose up -d --build
 # 或指定 dsh 版本:
-docker build --build-arg DSH_VERSION=0.1.0-rc.6 -t dsh-web:latest .
+docker build --build-arg DSH_VERSION=0.1.0-rc.7 -t dsh-web:latest .
 ```
 
 启动后浏览器访问 `http://<主机>:3080`(端口由 `.env` 的 `DSH_WEB_PORT` 控制),输入 basic auth 用户名密码。
@@ -44,7 +44,7 @@ docker build --build-arg DSH_VERSION=0.1.0-rc.6 -t dsh-web:latest .
 | `DEEPSEEK_API_KEY` | 是 | 无 | DeepSeek API Key(provider 经 apiKeyEnv 引用) |
 | `DSH_WEB_PORT` | 否 | `3080` | 宿主机对外端口(与已有服务冲突时修改) |
 | `DSH_TRUSTED_HOSTS` | 否 | 空 | 逗号分隔的额外受信 Host,注入 profile 的 `cordis.patch.yml`(仅当该文件不存在或仍为空模板时自动注入;已维护则跳过,请直接编辑该文件);默认靠 Caddy 改写 Host/Origin 为 loopback 已覆盖常规访问 |
-| `DSH_VERSION` | 否(构建期) | `0.1.0-rc.6` | dsh 版本,修改后需 `--build` 重建 |
+| `DSH_VERSION` | 否(构建期) | `0.1.0-rc.7` | dsh 版本,修改后需 `--build` 重建 |
 
 > `.env` 含密码与 API Key,禁止提交入库。
 

+ 1 - 1
docker-compose.yml

@@ -13,7 +13,7 @@ services:
     build:
       context: .
       args:
-        DSH_VERSION: ${DSH_VERSION:-0.1.0-rc.6}
+        DSH_VERSION: ${DSH_VERSION:-0.1.0-rc.7}
     container_name: dsh-web
     restart: unless-stopped
     ports: