Sign inSign up

elcweb/registry-nginx

By elcweb

Updated about 9 years ago

Basic authentification to run as reverse proxy for the docker registry

Image
0

337

elcweb/registry-nginx repository overview

docker-registry-nginx

Setuping users

Users are set at run time with the environment variable USERS

USERS='admin:$apr1$AyMA3sgt$jchcyTGgMk2SmuN1kbSR./'

will set a user admin with the password admin (default)

If no variable is set, admin:admin will be used.

For multiple users, add a space between them.

USERS='admin:$apr1$AyMA3sgt$jchcyTGgMk2SmuN1kbSR./ foobar:$apr1$AyMA3sgt$jchcyTGgMk2SmuN1kbSR./'

The password is gererated using htpasswd

References

https://www.nginx.com/resources/admin-guide/restricting-access-auth-basic/

Tag summary

Content type

Image

Digest

Size

6.4 MB

Last updated

about 9 years ago

docker pull elcweb/registry-nginx