Skip to content

Commit

Permalink
docs: fix read-only-auth example
Browse files Browse the repository at this point in the history
fixes #175
  • Loading branch information
Joxit committed Mar 5, 2021
1 parent 307e171 commit 8fe3adf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/read-only-auth/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 0 additions & 1 deletion examples/read-only-auth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fe3adf

Please sign in to comment.