This Docker image is based on PowerWiki by steven-ld.
本 Docker 镜像基于 steven-ld 开发的 PowerWiki 项目构建。
A modern Git-based Markdown wiki system with auto-sync, syntax highlighting, and Feishu-style UI.
| Tag | Description |
|---|---|
latest | Latest build, always up-to-date |
1.2.0 | Synced with upstream tag v1.2.0 |
1.2.0-5 | Based on v1.2.0 + 5 additional commits |
20260204 | Build date (YYYYMMDD) |
20260204-abc1234 | Build date + commit SHA |
Version Format: {upstream_version} or {upstream_version}-{commits}
1.2.0 — Exactly synced with upstream release v1.2.01.2.0-5 — Based on v1.2.0, with 5 commits after merging the tag (bug fixes, Docker improvements, etc.)Recommended:
1.2.0 or 1.2.0-5latest for newest featuresdocker run -d -p 3150:3150 sayunchuan/powerwiki
Visit http://localhost:3150
Mount config.json:
docker run -d -p 3150:3150 \
-v /path/to/config.json:/app/config.json \
sayunchuan/powerwiki
Persist statistics data:
docker run -d -p 3150:3150 \
-v /path/to/config.json:/app/config.json \
-v /path/to/data:/app/data \
sayunchuan/powerwiki
version: '3.8'
services:
powerwiki:
image: sayunchuan/powerwiki:latest
ports:
- "3150:3150"
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
- GIT_CACHE_DIR=/app/cache
- LANG=zh-CN
volumes:
- ./config.json:/app/config.json
- powerwiki-data:/app/data
- powerwiki-cache:/app/cache
restart: unless-stopped
volumes:
powerwiki-data:
powerwiki-cache:
Create config.json:
{
"gitRepo": "https://github.com/your-username/your-wiki-repo.git",
"repoBranch": "main",
"port": 3150,
"siteTitle": "My Wiki",
"siteDescription": "Knowledge Base"
}
| Variable | Default | Description |
|---|---|---|
| CONFIG_PATH | /app/config.json | Path to configuration file |
| DATA_DIR | /app/data | Directory for stats and logs |
| GIT_CACHE_DIR | /app/cache | Git repository cache directory |
| LANG | zh-CN | Console output language (zh-CN, en) |
一个现代化的基于 Git 的 Markdown 知识库系统,支持自动同步、语法高亮和飞书风格界面。
| 标签 | 说明 |
|---|---|
latest | 最新构建,始终保持最新 |
1.2.0 | 与上游 v1.2.0 版本同步 |
1.2.0-5 | 基于 v1.2.0 + 5 个额外提交 |
20260204 | 构建日期(YYYYMMDD) |
20260204-abc1234 | 构建日期 + 提交哈希 |
版本格式: {上游版本} 或 {上游版本}-{提交数}
1.2.0 — 与上游 v1.2.0 发布版本完全同步1.2.0-5 — 基于 v1.2.0,合并该 tag 后又有 5 次提交(Bug 修复、Docker 优化等)推荐使用:
1.2.0 或 1.2.0-5latest 获取最新功能docker run -d -p 3150:3150 sayunchuan/powerwiki
挂载配置文件:
docker run -d -p 3150:3150 \
-v /路径/config.json:/app/config.json \
sayunchuan/powerwiki
持久化统计数据:
docker run -d -p 3150:3150 \
-v /路径/config.json:/app/config.json \
-v /路径/data:/app/data \
sayunchuan/powerwiki
version: '3.8'
services:
powerwiki:
image: sayunchuan/powerwiki:latest
ports:
- "3150:3150"
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
- GIT_CACHE_DIR=/app/cache
- LANG=zh-CN
volumes:
- ./config.json:/app/config.json
- powerwiki-data:/app/data
- powerwiki-cache:/app/cache
restart: unless-stopped
volumes:
powerwiki-data:
powerwiki-cache:
创建 config.json:
{
"gitRepo": "https://github.com/用户名/仓库.git",
"repoBranch": "main",
"port": 3150,
"siteTitle": "我的知识库",
"siteDescription": "知识库描述"
}
| 变量 | 默认值 | 说明 |
|---|---|---|
| CONFIG_PATH | /app/config.json | 配置文件路径 |
| DATA_DIR | /app/data | 统计数据和日志存储目录 |
| GIT_CACHE_DIR | /app/cache | Git 仓库缓存目录 |
| LANG | zh-CN | 控制台输出语言(zh-CN、en) |
Content type
Image
Digest
sha256:8c7076936…
Size
112.3 MB
Last updated
6 months ago
docker pull sayunchuan/powerwiki