azvyagintsev | 2110338 | 2018-04-07 17:48:38 +0300 | [diff] [blame] | 1 | # simplified version of system.docker.swarm.stack.docker |
azvyagintsev | a789a30 | 2018-02-28 18:39:27 +0200 | [diff] [blame] | 2 | parameters: |
azvyagintsev | a789a30 | 2018-02-28 18:39:27 +0200 | [diff] [blame] | 3 | docker: |
| 4 | client: |
| 5 | stack: |
| 6 | docker: |
| 7 | service: |
| 8 | registry: |
| 9 | environment: |
| 10 | REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret} |
| 11 | deploy: |
azvyagintsev | a7b2b05 | 2019-01-23 19:55:22 +0200 | [diff] [blame] | 12 | replicas: 1 |
azvyagintsev | a789a30 | 2018-02-28 18:39:27 +0200 | [diff] [blame] | 13 | restart_policy: |
| 14 | condition: any |
Vladimir Khlyunev | 8f083a9 | 2020-10-07 20:37:17 +0000 | [diff] [blame^] | 15 | image: docker-prod-local.docker.mirantis.net/mirantis/external/registry:${_param:mcp_version} |
azvyagintsev | a789a30 | 2018-02-28 18:39:27 +0200 | [diff] [blame] | 16 | ports: |
| 17 | - 15000:5000 |
| 18 | volumes: |
| 19 | - "/srv/volumes/registry:/var/lib/registry" |