From 8fe3adf12540d1316cb57628ebe86a392a703d90 Mon Sep 17 00:00:00 2001 From: Joxit Date: Fri, 5 Mar 2021 18:21:54 +0100 Subject: [PATCH] docs: fix `read-only-auth` example fixes #175 --- examples/read-only-auth/README.md | 2 +- examples/read-only-auth/docker-compose.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/read-only-auth/README.md b/examples/read-only-auth/README.md index 0e5083f9..3e559a88 100644 --- a/examples/read-only-auth/README.md +++ b/examples/read-only-auth/README.md @@ -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. diff --git a/examples/read-only-auth/docker-compose.yml b/examples/read-only-auth/docker-compose.yml index b5bb4ebf..241f426a 100644 --- a/examples/read-only-auth/docker-compose.yml +++ b/examples/read-only-auth/docker-compose.yml @@ -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