blob: 3800b5681c81a82f3c92cc8763f7e007f38cb769 [file] [log] [blame]
parameters:
_param:
docker_stack_registry_replicas: 3
docker:
client:
stack:
docker:
service:
registry:
environment:
REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret}
deploy:
replicas: ${_param:docker_stack_registry_replicas}
restart_policy:
condition: any
image: ${_param:docker_image_registry}
ports:
- 15000:5000
volumes:
- /srv/volumes/registry:/var/lib/registry
visualizer:
deploy:
restart_policy:
condition: any
placement:
constraints:
- "node.role == manager"
image: ${_param:docker_image_visualizer}
ports:
- 18090:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock