feat: 更新版本号至 v4.15,调整相关文档和示例配置
Build and Release / build-and-test (arm64, alpine) (push) Successful in -52s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -2m30s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in -1m46s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 43s
Build and Release / release (push) Successful in -1m47s

This commit is contained in:
2026-05-01 21:15:40 +08:00
parent e4f8a390bb
commit 2599d203bb
6 changed files with 37 additions and 159 deletions
+2 -32
View File
@@ -42,36 +42,24 @@ sudo nano /var/lib/p2pool/params.conf
sudo systemctl enable --now p2pool.service
```
详细配置说明请查看:[README-params.md](README-params.md)
### 本地构建
```bash
# Alpine 构建(推荐,体积更小)
docker buildx build --pull \
--platform linux/amd64 \
--build-arg P2POOL_VERSION=v4.14 \
--build-arg P2POOL_VERSION=v4.15 \
--output type=local,dest=./output \
-f docker/Dockerfile.alpine .
# Ubuntu 构建
docker buildx build --pull \
--platform linux/amd64 \
--build-arg P2POOL_VERSION=v4.14 \
--build-arg P2POOL_VERSION=v4.15 \
--output type=local,dest=./output \
-f docker/Dockerfile.ubuntu .
```
## 📚 文档
完整的项目文档位于 [llmdoc/](llmdoc/) 目录:
- **[项目概述](llmdoc/overview/project-overview.md)** - 了解项目目的和架构
- **[CI/CD 架构](llmdoc/architecture/cicd-architecture.md)** - 自动化构建流程
- **[Docker 架构](llmdoc/architecture/docker-architecture.md)** - 多阶段构建系统
- **[本地构建指南](llmdoc/guides/local-build.md)** - 开发者构建指南
- **[Debian 包指南](llmdoc/guides/debian-package.md)** - 安装和配置
## 🏗️ 构建系统
### 支持的架构和平台
@@ -88,25 +76,8 @@ docker buildx build --pull \
## 🔧 配置管理
本项目使用配置文件管理 P2Pool 设置,提供以下优势:
-**升级安全** - 配置文件在包升级时不会被覆盖
-**集中管理** - 所有设置在一个位置
-**易于维护** - 支持注释和版本控制
配置文件模板:[params.conf.example](params.conf.example)
## 📦 发布流程
项目使用 Gitea Actions 实现自动化 CI/CD
1. **代码推送** → 触发构建(main/develop 分支)
2. **创建标签** → 触发完整发布流程
3. **自动构建** → 4 种组合(2 架构 × 2 发行版)
4. **自动发布** → 上传到包注册中心
5. **创建 Release** → 附带下载链接和说明
## 🔐 安全性
- ✅ 禁用上游合并挖矿捐赠
@@ -125,7 +96,6 @@ docker buildx build --pull \
- **上游项目**: [SChernykh/p2pool](https://github.com/SChernykh/p2pool)
- **Monero**: [getmonero.org](https://www.getmonero.org/)
- **项目文档**: [llmdoc/index.md](llmdoc/index.md)
---