https://github.com/botto/sdrf
Just a simple docker registry "frontend"
https://github.com/botto/sdrf
Last synced: 4 months ago
JSON representation
Just a simple docker registry "frontend"
- Host: GitHub
- URL: https://github.com/botto/sdrf
- Owner: botto
- License: mit
- Created: 2015-04-10T23:48:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-14T09:43:04.000Z (about 11 years ago)
- Last Synced: 2025-07-19T18:40:36.012Z (11 months ago)
- Language: Nginx
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Simple Docker Registry Frontend(sdrf)
Simple frontend with auth and ssl to allow you to host your own docker reg
You will need two directories, one for the ssl key+crt and one for the .htpasswd
The nginx conf will look for `ssl.key` and `ssl.crt` under `/etc/nginx/ssl_cert` and look for `.htpasswd` under `/etc/nginx/htpasswd`
This is not friendly at the moment, it will crash hard if you don't run it correctly
First run a docker registry
`docker run -d --name docker-registry registry`
This will spool up a registry container for you
Next start the sdrf container
`docker run -d -e FRONTEND_HOSTNAME=*hostname* \`
`-p 443:443 \`
`-v (pwd)/htpasswd/:/etc/nginx/htpasswd \`
`-v (pwd)/ssl_cert/:/etc/nginx/ssl_cert:ro \`
`--link docker-registry:docker-registry-host \`
`botto/sdrf`