blob: 62bbd90e99c7ea93f0b87b4f83cbe9dcb3105c8a [file] [log] [blame]
azvyagintsev21103382018-04-07 17:48:38 +03001# simplified version of system.docker.swarm.stack.docker
azvyagintseva789a302018-02-28 18:39:27 +02002parameters:
3 _param:
azvyagintsev21103382018-04-07 17:48:38 +03004 docker_image_registry: docker-prod-local.docker.mirantis.net/mirantis/external/registry:${_param:apt_mk_version}
azvyagintseva789a302018-02-28 18:39:27 +02005 docker_stack_registry_replicas: 1
6 docker:
7 client:
8 stack:
9 docker:
10 service:
11 registry:
12 environment:
13 REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret}
14 deploy:
15 replicas: ${_param:docker_stack_registry_replicas}
16 restart_policy:
17 condition: any
18 image: ${_param:docker_image_registry}
19 ports:
20 - 15000:5000
21 volumes:
22 - "/srv/volumes/registry:/var/lib/registry"