- 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-nginxrename the fileyourdomain.example.comusing your domain name - Use the
htpasswdtool to add your users inregistry.password - Create the volume
docker-registry-datausingIt 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