tumbo/examples/full/registry/docker-compose.yml
2019-12-22 19:59:57 +01:00

15 lines
366 B
YAML

version: '3.7'
services:
registry:
image: registry
container_name: registry
ports:
- 5000:5000
volumes:
- ./htpasswd:/auth/htpasswd
environment:
- REGISTRY_AUTH=htpasswd
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd