feat: Support one-click deployment of NVCR image acceleration proxy service.

This commit is contained in:
dqzboy
2024-08-30 21:22:49 +08:00
parent f51655df38
commit 625cb995f7
5 changed files with 285 additions and 261 deletions

View File

@@ -143,6 +143,24 @@ services:
networks:
- registry-net
## nvcr.io
nvcr:
container_name: reg-nvcr
image: dqzboy/registry:latest
restart: always
environment:
- OTEL_TRACES_EXPORTER=none
#- http=http://host:port
#- https=http://host:port
volumes:
- ./registry/data:/var/lib/registry
- ./registry-elastic.yml:/etc/distribution/config.yml
#- ./htpasswd:/auth/htpasswd
ports:
- 59000:5000
networks:
- registry-net
## UI
registry-ui:
container_name: registry-ui