docs: update GHCR image address to arkylin/mirror-proxy
Build and Push to GHCR / build-and-push (push) Has been cancelled
Build and Push to GHCR / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -72,7 +72,7 @@ docker-compose down
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 拉取最新镜像
|
# 拉取最新镜像
|
||||||
docker pull ghcr.io/${GITHUB_USER}/mirror-proxy:latest
|
docker pull ghcr.io/arkylin/mirror-proxy:latest
|
||||||
|
|
||||||
# 运行
|
# 运行
|
||||||
docker run -d \
|
docker run -d \
|
||||||
@@ -81,11 +81,9 @@ docker run -d \
|
|||||||
-v $(pwd)/config.json:/app/config.json \
|
-v $(pwd)/config.json:/app/config.json \
|
||||||
-v $(pwd)/cache:/app/cache \
|
-v $(pwd)/cache:/app/cache \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
ghcr.io/${GITHUB_USER}/mirror-proxy:latest
|
ghcr.io/arkylin/mirror-proxy:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
> 将 `${GITHUB_USER}` 替换为你的 GitHub 用户名或组织名。
|
|
||||||
|
|
||||||
## 使用方式
|
## 使用方式
|
||||||
|
|
||||||
### 1. Docker Hub / GHCR(daemon.json 方式)
|
### 1. Docker Hub / GHCR(daemon.json 方式)
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
mirror-proxy:
|
mirror-proxy:
|
||||||
|
# 使用 GHCR 预构建镜像(推荐)
|
||||||
|
# image: ghcr.io/arkylin/mirror-proxy:latest
|
||||||
build: .
|
build: .
|
||||||
container_name: mirror-proxy
|
container_name: mirror-proxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user