Files
qiming/qiming-rcoder/k8s/register2/docker-compose.yml
2026-06-01 13:54:52 +08:00

27 lines
711 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
registry2:
image: registry:2
container_name: registry2
restart: unless-stopped
ports:
- "5000:5000"
environment:
REGISTRY_STORAGE_DELETE_ENABLED: "true"
volumes:
- ./data:/var/lib/registry
- ./registry-config.yml:/etc/docker/registry/config.yml:ro
registry-ui:
image: joxit/docker-registry-ui:latest
container_name: registry2-ui
restart: unless-stopped
ports:
- "5080:80"
environment:
SINGLE_REGISTRY: "true"
REGISTRY_TITLE: "registry2"
# UI 在浏览器端直接请求 registry这里必须是浏览器可达的地址
REGISTRY_URL: "http://192.168.32.228:5000"
depends_on:
- registry2