1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/registry/docker-compose.yml

17 lines
435 B
YAML
Raw Normal View History

2016-06-18 08:57:59 +02:00
registry:
2016-08-27 13:44:32 +02:00
image: registry
2016-06-18 08:57:59 +02:00
ports:
- "5000:5000"
volumes:
2016-08-27 13:44:32 +02:00
- /etc/docker/registry
2016-06-18 08:57:59 +02:00
- ./data:/var/lib/registry
- ./certs:/certs
- ./auth:/auth
environment:
- REGISTRY_HTTP_TLS_CERTIFICATE=/certs/easypi.info.crt
- REGISTRY_HTTP_TLS_KEY=/certs/easypi.info.key
- REGISTRY_AUTH=htpasswd
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
restart: always