diff --git a/docs/design/development.md b/docs/design/development.md index 693243c5..1c651e79 100644 --- a/docs/design/development.md +++ b/docs/design/development.md @@ -40,15 +40,14 @@ Server: -* Go 1.24+ +* Go 1.25+ * Gin * GORM * SQLite / PostgreSQL * 现有登录体系 Agent: - -* Go 1.24+ +* * 单二进制 * 节点本地执行 * `openresty_path` 优先 diff --git a/docs/en/guide/deployment.md b/docs/en/guide/deployment.md index 13d96379..674b1dee 100644 --- a/docs/en/guide/deployment.md +++ b/docs/en/guide/deployment.md @@ -6,13 +6,13 @@ This page summarizes the OpenFlare deployment baseline, integration flow, upgrad Server: -* Go 1.24+ +* Go 1.25+ * Node.js 18+ * Writable SQLite directory or reachable PostgreSQL instance Agent: -* Go 1.24+ +* Go 1.25+ * Writable Agent data directory * Local mode requires `openresty -t` and `openresty -s reload` * Docker mode requires Docker access diff --git a/docs/en/guide/server.md b/docs/en/guide/server.md index 1010cd91..79feeb61 100644 --- a/docs/en/guide/server.md +++ b/docs/en/guide/server.md @@ -4,10 +4,10 @@ OpenFlare Server is the Gin + GORM control plane. It owns the web console, manag ## Requirements -| Item | Requirement | -| --- | --- | -| Go | `1.24+` | -| Node.js | `18+` | +| Item | Requirement | +| --- |-------------------------------------------------------| +| Go | `1.25+` | +| Node.js | `18+` | | Database | Writable SQLite path or reachable PostgreSQL instance | Set `SESSION_SECRET` explicitly in production and prefer PostgreSQL. diff --git a/docs/guide/deployment.md b/docs/guide/deployment.md index a4f6cf61..b16b6d6e 100644 --- a/docs/guide/deployment.md +++ b/docs/guide/deployment.md @@ -6,13 +6,13 @@ Server: -* Go 1.24+ +* Go 1.25+ * Node.js 18+ * 可写 SQLite 文件目录,或可访问的 PostgreSQL 实例 Agent: -* Go 1.24+ +* Go 1.25+ * 对 Agent 数据目录有写权限 * 本机模式下可执行 `openresty -t` 与 `openresty -s reload` * Docker 模式下具备 Docker 执行权限 diff --git a/docs/guide/server.md b/docs/guide/server.md index 7b9688c2..3edd18ab 100644 --- a/docs/guide/server.md +++ b/docs/guide/server.md @@ -4,10 +4,10 @@ OpenFlare Server 是 Gin + GORM 单体控制面,负责管理端 UI、管理 AP ## 前置条件 -| 项目 | 要求 | -| --- | --- | -| Go | `1.24+` | -| Node.js | `18+` | +| 项目 | 要求 | +| --- |-----------------------------------| +| Go | `1.25+` | +| Node.js | `18+` | | 数据库 | SQLite 文件目录可写,或可访问的 PostgreSQL 实例 | 生产环境建议显式配置 `SESSION_SECRET`,并优先使用 PostgreSQL。 diff --git a/openflare_server/Dockerfile b/openflare_server/Dockerfile index 40c963dc..8b1e62e5 100644 --- a/openflare_server/Dockerfile +++ b/openflare_server/Dockerfile @@ -11,7 +11,7 @@ RUN corepack enable && pnpm install --frozen-lockfile COPY ./web ./ RUN NEXT_PUBLIC_APP_VERSION="$VERSION" pnpm build -FROM golang:1.24 AS builder2 +FROM golang:1.25 AS builder2 ARG VERSION