tumbo/examples/push_to_registry/registry/docker-compose.yml

15 lines
366 B
YAML
Raw Normal View History

2019-12-22 18:59:57 +00:00
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