diff --git a/examples/read-only-auth/README.md b/examples/read-only-auth/README.md index 0e5083f..3e559a8 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 b5bb4eb..241f426 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