blob: 3800b5681c81a82f3c92cc8763f7e007f38cb769 [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
azvyagintsev4c89c122018-02-27 12:52:35 +02003 docker_stack_registry_replicas: 3
Filip Pytloun7d6144a2017-04-13 13:36:45 +02004 docker:
5 client:
6 stack:
7 docker:
8 service:
9 registry:
10 environment:
11 REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret}
12 deploy:
azvyagintsev4c89c122018-02-27 12:52:35 +020013 replicas: ${_param:docker_stack_registry_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020014 restart_policy:
15 condition: any
16 image: ${_param:docker_image_registry}
17 ports:
18 - 15000:5000
19 volumes:
20 - /srv/volumes/registry:/var/lib/registry
21 visualizer:
22 deploy:
23 restart_policy:
24 condition: any
25 placement:
26 constraints:
27 - "node.role == manager"
28 image: ${_param:docker_image_visualizer}
29 ports:
30 - 18090:8080
31 volumes:
32 - /var/run/docker.sock:/var/run/docker.sock