docker-registry-ui/examples/read-only-auth
silverwind a36e3aac57
docs: improve `examples/read-only-auth` (#371)
* Improve `examples/read-only-auth`

* Update examples/read-only-auth/nginx.conf
2024-04-05 21:59:24 +02:00
..
README.md docs: improve `examples/read-only-auth` (#371) 2024-04-05 21:59:24 +02:00
docker-compose.yml docs: improve `examples/read-only-auth` (#371) 2024-04-05 21:59:24 +02:00
nginx.conf docs: improve `examples/read-only-auth` (#371) 2024-04-05 21:59:24 +02:00
read.htpasswd docs: improve `examples/read-only-auth` (#371) 2024-04-05 21:59:24 +02:00
registry.yml docs: add new example ui as proxy with read-only right 2020-11-01 23:02:16 +01:00
write.htpasswd docs: improve `examples/read-only-auth` (#371) 2024-04-05 21:59:24 +02:00

README.md

Docker registry with read only access

This example will override the original nginx conf with read only access to the registry. You will need to rewrite all the project configuration (replaces proxy_pass with your own value, in this example http://registry:5000 is fine).

There are two htpasswd files:

  • write.htpasswd for write access
  • read.htpasswd for read access

All users in write.htpasswd should also be in read.htpasswd so that they can read and write.

Read only user: login: read password: registry. Read and write user: login: write password: registry.