13 lines
347 B
YAML
13 lines
347 B
YAML
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" |