[优化] 更新 Go 版本要求至 1.25+

This commit is contained in:
ryan
2026-05-25 16:18:07 +08:00
parent c8e2c3620e
commit 5d6d68d0a1
6 changed files with 15 additions and 16 deletions
+2 -3
View File
@@ -40,15 +40,14 @@
Server:
* Go 1.24+
* Go 1.25+
* Gin
* GORM
* SQLite / PostgreSQL
* 现有登录体系
Agent:
* Go 1.24+
*
* 单二进制
* 节点本地执行
* `openresty_path` 优先
+2 -2
View File
@@ -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
+4 -4
View File
@@ -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.
+2 -2
View File
@@ -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 执行权限
+4 -4
View File
@@ -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。
+1 -1
View File
@@ -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