Created
February 23, 2017 01:00
-
-
Save msfidelis/b81389fec36cd077e4861b4fce7c3ff7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registry: | |
image: registry:2 | |
ports: | |
- "5000:5000" | |
volumes: | |
- './data:/var/lib/registry' | |
- './auth:/auth' | |
environment: | |
REGISTRY_AUTH: htpasswd | |
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd | |
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment