| # simplified version of system.docker.swarm.stack.docker |
| parameters: |
| _param: |
| docker_image_registry: docker-prod-local.docker.mirantis.net/mirantis/external/registry:${_param:apt_mk_version} |
| docker_stack_registry_replicas: 1 |
| 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" |