https://github.com/imomaliev/docker-registry-deployment
HTTPS deployment for docker-registry with frontend
https://github.com/imomaliev/docker-registry-deployment
certbot docker docker-registry https letsencrypt nginx
Last synced: 2 months ago
JSON representation
HTTPS deployment for docker-registry with frontend
- Host: GitHub
- URL: https://github.com/imomaliev/docker-registry-deployment
- Owner: imomaliev
- License: mit
- Created: 2018-05-31T10:04:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T05:26:54.000Z (over 5 years ago)
- Last Synced: 2025-02-14T00:18:01.429Z (4 months ago)
- Topics: certbot, docker, docker-registry, https, letsencrypt, nginx
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker registry deployment
HTTPS deployment of docker registry with frontend
## Usage
1. Pull this repo
2. Create .env
3. Set DOMAIN and EMAIL varibles in it for letsencrypt
4. `docker-compose -f docker-compose.certbot.yml run --rm certbot`
5. `docker-compose -f docker-compose.certbot.yml down`
6. `docker run --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/htpasswd`
7. `docker-compose up -d`## Certificates renewal
`docker-compose -f docker-compose.certbot.yml run --rm certbot renew`