docs: fix read-only-auth example

fixes #175
This commit is contained in:
Joxit 2021-03-05 18:21:54 +01:00
parent 307e171ede
commit 8fe3adf125
No known key found for this signature in database
GPG key ID: F526592B8E012263
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Docker registry with read only access
This is the configuration for a docker registry UI using `REGISTRY_URL` (as a proxy) with read only access to the registry.
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. `read-write.htpasswd` a read and write access to the registry and `read-only.htpasswd` for a read only access.

View file

@ -14,7 +14,6 @@ services:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://registry:5000
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./read-write.htpasswd:/etc/nginx/auth/read-write.htpasswd:ro