mirror of
https://github.com/vimagick/dockerfiles
synced 2024-07-03 00:33:55 +00:00
16 lines
410 B
YAML
16 lines
410 B
YAML
|
registry:
|
||
|
image: registry:2
|
||
|
ports:
|
||
|
- "5000:5000"
|
||
|
volumes:
|
||
|
- ./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
|