https://github.com/chneau/docker-swarm-registry
Trying to get a swarm conf to get docker registry secure, up and running
https://github.com/chneau/docker-swarm-registry
Last synced: 9 months ago
JSON representation
Trying to get a swarm conf to get docker registry secure, up and running
- Host: GitHub
- URL: https://github.com/chneau/docker-swarm-registry
- Owner: chneau
- License: mit
- Created: 2017-11-30T12:26:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T13:25:04.000Z (over 8 years ago)
- Last Synced: 2025-09-06T22:02:52.134Z (9 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# registry
Source: https://github.com/docker/docker.github.io/blob/master/registry/recipes/nginx.md
This repo will get you started with a Docker Registry with https and auth.
My goal was to set up a private registry by my own (using Docker only).
I will use this repository for my continuous deployment pipeline.
Git clone this repo,
If you already have certs, copy them to certs folder.
If you don't you can just run the getcerts.sh script, it will run a certbot and get the certificates for you.
Add a user with setauth.sh script.
If you want to add more users, you should do it with htpasswd -b $FILE $USERNAME $PASSWORD.
### Thanks ###
* Docker https://www.docker.com/
* Nginx https://www.nginx.com/resources/wiki/
* Certbot https://certbot.eff.org/
* Let's Encrypt https://letsencrypt.org/