# simplified version of system.docker.swarm.stack.docker | |
parameters: | |
docker: | |
client: | |
stack: | |
docker: | |
service: | |
registry: | |
environment: | |
REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret} | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
image: docker-prod-local.docker.mirantis.net/mirantis/external/registry:${_param:mcp_version} | |
ports: | |
- 15000:5000 | |
volumes: | |
- "/srv/volumes/registry:/var/lib/registry" |