blob: a38bd7a3e1344698c0e94956b697314c444e742f [file] [log] [blame]
Zack Williams65edc222018-01-30 18:52:30 -07001---
2version: '2'
3
4services:
5 registry:
6 restart: always
7 image: {{ docker_registry_image }}
8 ports:
9 - {{ docker_registry_ext_port }}:5000
10 environment:
11 REGISTRY_HTTP_TLS_CERTIFICATE: /certs/docker_registry.pem
12 REGISTRY_HTTP_TLS_KEY: /certs/docker_registry_key.pem
13 REGISTRY_HTTP_TLS_CLIENTCAS: "[ '/certs/ca_cert.pem' ]"
14 REGISTRY_HTTP_SECRET: {{ docker_registry_http_secret }}
15 volumes:
16 - {{ docker_registry_dir }}/data:/var/lib/registry
17 - {{ docker_registry_dir }}/certs:/certs
18