mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2025-04-26 23:19:54 +03:00
parent
307e171ede
commit
8fe3adf125
2 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue