blob: 2cc6bedacfb98e3bccde5eb0bb2935d134c0766b [file] [log] [blame]
azvyagintseva789a302018-02-28 18:39:27 +02001# simplifyed version of system.docker.swarm.stack.docker
2parameters:
3 _param:
4 docker_image_registry: registry:2
5 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"