argilla-docker/registry/docker-compose.yml

19 lines
444 B
YAML
Raw Normal View History

2020-10-26 20:42:51 +00:00
registry:
restart: unless-stopped
image: registry:2
ports:
- 5000:5000
environment:
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/registry.crt
REGISTRY_HTTP_TLS_KEY: /certs/registry.key
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
volumes:
- /srv/registry/data:/var/lib/registry
- /srv/registry/certs:/certs
- /srv/registry/auth:/auth