简化镜像仓库

This commit is contained in:
NewName
2025-05-18 12:32:09 +08:00
parent f290386f34
commit 762d6ba8ec
7 changed files with 4 additions and 95 deletions

View File

@@ -12,16 +12,4 @@ docker.{$DOMAIN} {
ghcr.{$DOMAIN} {
reverse_proxy * ghcr:5000
}
gcr.{$DOMAIN} {
reverse_proxy * gcr:5000
}
quay.{$DOMAIN} {
reverse_proxy * quay:5000
}
k8s.{$DOMAIN} {
reverse_proxy * k8s:5000
}
}

View File

@@ -16,7 +16,7 @@
### 使用Docker部署
1域名解析`hub``quay``ghcr``gcr``docker``k8s`这个几个解析为你的二级域名。
1域名解析`hub``ghcr``docker`这个几个解析为你的二级域名。
> 嫌麻烦也可以直接泛解析
@@ -71,8 +71,7 @@ docker run -d \
ghproxy基于go语言的Gin框架镜像加速基于`registry`镜像实现
前端借鉴了[这个项目](https://github.com/WJQSERVER-STUDIO/ghproxy)的UIghproxy后端基于[这个项目](https://github.com/moeyy01/gh-proxy-go)修改并增加了更多特性
前端借鉴了[项目](https://github.com/WJQSERVER-STUDIO/ghproxy)的UI
### 免责声明

View File

@@ -11,13 +11,6 @@ services:
- DOMAIN=example.com # 修改为你的根域名
restart: always
quay:
image: "registry:2.8.3"
container_name: "quay"
restart: "always"
volumes:
- "./quay/config.yml:/etc/docker/registry/config.yml"
ghcr:
image: "registry:2.8.3"
container_name: "ghcr"
@@ -25,13 +18,6 @@ services:
volumes:
- "./ghcr/config.yml:/etc/docker/registry/config.yml"
gcr:
image: "registry:2.8.3"
container_name: "gcr"
restart: "always"
volumes:
- "./gcr/config.yml:/etc/docker/registry/config.yml"
docker:
image: "registry:2.8.3"
container_name: "docker"
@@ -39,14 +25,7 @@ services:
volumes:
- "./docker/config.yml:/etc/docker/registry/config.yml"
k8s:
image: "registry:2.8.3"
container_name: "k8s"
restart: "always"
volumes:
- "./k8s/config.yml:/etc/docker/registry/config.yml"
ghproxy:
image: "ghcr.io/sky22333/hub-proxy"
container_name: "ghproxy"
restart: "always"
restart: "always"

View File

@@ -1,16 +0,0 @@
version: 0.1
storage:
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
maintenance:
uploadpurging:
enabled: true
age: 72h
dryrun: false
interval: 1m
http:
addr: 0.0.0.0:5000
proxy:
remoteurl: https://gcr.io

View File

@@ -428,15 +428,6 @@
<div class="domain-item">
<div class="domain-text">ghcr.<span class="domain-base"></span></div>
</div>
<div class="domain-item">
<div class="domain-text">gcr.<span class="domain-base"></span></div>
</div>
<div class="domain-item">
<div class="domain-text">quay.<span class="domain-base"></span></div>
</div>
<div class="domain-item">
<div class="domain-text">k8s.<span class="domain-base"></span></div>
</div>
</div>
</div>
</div>

View File

@@ -1,16 +0,0 @@
version: 0.1
storage:
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
maintenance:
uploadpurging:
enabled: true
age: 72h
dryrun: false
interval: 1m
http:
addr: 0.0.0.0:5000
proxy:
remoteurl: https://registry.k8s.io

View File

@@ -1,16 +0,0 @@
version: 0.1
storage:
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
maintenance:
uploadpurging:
enabled: true
age: 72h
dryrun: false
interval: 1m
http:
addr: 0.0.0.0:5000
proxy:
remoteurl: https://quay.io