blob: 75eec8a47beb3cde1ec4f56d67666233afe6f09b [file] [log] [blame]
Michael Kutý17649402016-03-19 23:57:43 +01001parameters:
2 docker:
3 compose:
4 container:
5 registry:
6 restart: always
7 image: registry:2
8 ports:
9 - 5000:5000
10 environment:
11 REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt
12 REGISTRY_HTTP_TLS_KEY: /certs/domain.key
13 REGISTRY_AUTH: htpasswd
14 REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
15 REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
16 volumes:
17 - /path/data:/var/lib/registry
18 - /etc/certs:/certs
19 - /path/auth:/auth