fix: 🐛 update README and Docker setup documentation for GitHub Container Registry support

This commit is contained in:
isboyjc
2026-03-29 04:20:43 +08:00
parent 73cb8e8840
commit 9a4f08a5e7
3 changed files with 77 additions and 27 deletions

View File

@@ -244,17 +244,9 @@ docker compose up -d
# http://localhost:7778默认密码goproxy
```
### 使用 Docker Hub 镜像
### 使用预构建镜像docker run
```bash
docker pull isboyjc/goproxy:latest
docker run -d --name proxygo \
-p 127.0.0.1:7776:7776 -p 127.0.0.1:7777:7777 -p 7778:7778 \
-e WEBUI_PASSWORD=your_password -v "$(pwd)/data:/app/data" \
isboyjc/goproxy:latest
```
### 使用 GitHub Container Registry 镜像
**推荐使用 GitHub Container Registry**(自动构建,无需额外配置):
```bash
docker pull ghcr.io/isboyjc/goproxy:latest
@@ -264,6 +256,16 @@ docker run -d --name proxygo \
ghcr.io/isboyjc/goproxy:latest
```
**或使用 Docker Hub**(如果已配置):
```bash
docker pull isboyjc/goproxy:latest
docker run -d --name proxygo \
-p 127.0.0.1:7776:7776 -p 127.0.0.1:7777:7777 -p 7778:7778 \
-e WEBUI_PASSWORD=your_password -v "$(pwd)/data:/app/data" \
isboyjc/goproxy:latest
```
### 环境变量配置
**核心配置**`.env` 文件):