diff --git a/README.md b/README.md index e28d284..554b993 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ docker-compose down ```bash # 拉取最新镜像 -docker pull ghcr.io/${GITHUB_USER}/mirror-proxy:latest +docker pull ghcr.io/arkylin/mirror-proxy:latest # 运行 docker run -d \ @@ -81,11 +81,9 @@ docker run -d \ -v $(pwd)/config.json:/app/config.json \ -v $(pwd)/cache:/app/cache \ --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 方式) diff --git a/docker-compose.yml b/docker-compose.yml index d64bcd1..9ed4869 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,7 @@ services: mirror-proxy: + # 使用 GHCR 预构建镜像(推荐) + # image: ghcr.io/arkylin/mirror-proxy:latest build: . container_name: mirror-proxy restart: unless-stopped