Kubernetes/Docker/Dockerfile/Cache-Registry/docker-compose.yaml

13 lines
347 B
YAML
Raw Permalink Normal View History

2024-08-07 10:54:39 +00:00
version: "3"
services:
registryproxy:
image: "hub.offends.cn/registry-proxy:latest"
container_name: "registryproxy"
restart: "always"
volumes:
- "/etc/localtime:/etc/localtime"
- "/var/lib/registryproxy:/var/lib/registry"
environment:
- "PROXY_REMOTE_URL=http://registry:5000"
ports:
- "5000:5000"