- Checkout this repo and the submodule docker-letsencrypt-nginx-proxy-companion[1]
- Replace yourdomain.example.com and youremail@yourdomain.example.com in the file
docker-compose.yml
- In the directory
registry-nginx
rename the fileyourdomain.example.com
using your domain name - Use the
htpasswd
tool to add your users inregistry.password
- Create the volume
docker-registry-data
usingIt will store the uploaded imagesdocker volume create docker-registry-data
- Run
docker-compose up
[1] This submodule will not be necessary when docker-letsencrypt-nginx-proxy-companion will implement this PR: nginx-proxy/acme-companion#203