Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
Marek Celoud | dd1e6bc | 2017-03-22 16:18:09 +0100 | [diff] [blame] | 2 | _param: |
| 3 | docker_image_registry: registry:2 |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | registry: |
| 8 | replica: 3 |
| 9 | environment: |
| 10 | REGISTRY_HTTP_SECRET: ${_param:docker_registry_http_secret} |
| 11 | restart: |
| 12 | condition: any |
| 13 | image: ${_param:docker_image_registry} |
| 14 | ports: |
| 15 | - 15000:5000 |
| 16 | volume: |
| 17 | site: |
| 18 | type: bind |
| 19 | source: /srv/volumes/registry |
| 20 | destination: /var/lib/registry |