Skip to content

Commit

Permalink
build: release 2.0.0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Apr 28, 2021
1 parent c66887f commit 1c88ad5
Show file tree
Hide file tree
Showing 24 changed files with 52 additions and 158 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ This web user interface uses [Riot](https://github.com/Riot/riot) the react-like
- Select all tags with ALT + Click to delete (see [#80](https://github.com/Joxit/docker-registry-ui/issues/80)).
- One interface for many registries (when `SINGLE_REGISTRY=false`).
- Share your docker registry with query parameter `url` (e.g. `https://joxit.dev/docker-registry-ui/demo?url=https://registry.example.com`) (when `SINGLE_REGISTRY=false`).
- Use the UI as reverse proxy (with `REGISTRY_URL` environment variable) to your docker registry (This will avoid CORS).
- Add Title when using `REGISTRY_URL` (see [#28](https://github.com/Joxit/docker-registry-ui/issues/28)).
- Use the UI as reverse proxy (with `NGINX_PROXY_PASS_URL` environment variable) to your docker registry (This will avoid CORS).
- Add Title when using `REGISTRY_TITLE` (see [#28](https://github.com/Joxit/docker-registry-ui/issues/28)).
- Customise docker pull command on static registry UI (see [#71](https://github.com/Joxit/docker-registry-ui/issues/71)).
- Add custom header via environment variable and file via `NGINX_PROXY_HEADER_*` (see [#89](https://github.com/Joxit/docker-registry-ui/pull/89))
- Show/Hide content digest in taglist via `SHOW_CONTENT_DIGEST` (values are: [`true`, `false`], default: `true`) (see [#126](https://github.com/Joxit/docker-registry-ui/issues/126)).
Expand Down
2 changes: 1 addition & 1 deletion dist/docker-registry-ui.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/docker-registry-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--><!DOCTYPE html><html><head><meta charset="UTF-8"><link href="docker-registry-ui.css" rel="stylesheet" type="text/css"><meta name="viewport" content="width=device-width, initial-scale=1"><meta property="og:site_name" content="Docker Registry UI" /><meta name="twitter:card" content="summary" /><meta name="twitter:site" content="@Joxit" /><meta name="twitter:creator" content="@Jones Magloire" /><title>Docker Registry UI</title></head><body><docker-registry-ui registry-url="${URL}" name="${REGISTRY_TITLE}" pull-url="${PULL_URL}"
--><!DOCTYPE html><html><head><meta charset="UTF-8"><link href="docker-registry-ui.css" rel="stylesheet" type="text/css"><meta name="viewport" content="width=device-width, initial-scale=1"><meta property="og:site_name" content="Docker Registry UI" /><meta name="twitter:card" content="summary" /><meta name="twitter:site" content="@Joxit" /><meta name="twitter:creator" content="@Jones Magloire" /><title>Docker Registry UI</title></head><body><docker-registry-ui registry-url="${REGISTRY_URL}" name="${REGISTRY_TITLE}" pull-url="${PULL_URL}"
show-content-digest="${SHOW_CONTENT_DIGEST}" is-image-remove-activated="${DELETE_IMAGES}"
catalog-elements-limit="${CATALOG_ELEMENTS_LIMIT}" single-registry="${SINGLE_REGISTRY}"></docker-registry-ui><script src="docker-registry-ui.js"></script></body></html>
5 changes: 3 additions & 2 deletions examples/issue-116/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ services:
container_name: registry-srv

registry-ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
restart: always
ports:
- 80:80
environment:
- REGISTRY_TITLE=Private Docker Registry
- URL=http://localhost:5000
- REGISTRY_URL=http://localhost:5000
- DELETE_IMAGES=true
- SINGLE_REGISTRY=true
container_name: registry-ui

networks:
Expand Down
3 changes: 2 additions & 1 deletion examples/issue-20/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
environment:
- SINGLE_REGISTRY=true
- REGISTRY_TITLE=My Private Docker Registry
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
Expand Down
3 changes: 3 additions & 0 deletions examples/issue-20/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ server {
ssl_certificate_key /etc/nginx/certs/privkey.pem;
root /usr/share/nginx/html;

# disable any limits to avoid HTTP 413 for large image uploads
client_max_body_size 0;

location /v2 {
# Do not allow connections from docker 1.5 and earlier
# docker pre-1.6.0 did not properly set the user agent on ping, catch "Go *" user agents
Expand Down
5 changes: 3 additions & 2 deletions examples/issue-73/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
environment:
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://registry:5000
- NGINX_PROXY_PASS_URL=http://registry:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
networks:
Expand Down
5 changes: 3 additions & 2 deletions examples/issue-75/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ services:
network_mode: host

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- URL=http://127.0.0.1:5000
- REGISTRY_URL=http://127.0.0.1:5000
- DELETE_IMAGES=true
- SINGLE_REGISTRY=true
depends_on:
- registry
network_mode: host
Expand Down
5 changes: 3 additions & 2 deletions examples/issue-88/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ services:
container_name: registry-srv

registry-ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
restart: always
ports:
- 8080:80
environment:
- REGISTRY_TITLE=Private Docker Registry
- REGISTRY_URL=http://registry-srv:5000
- NGINX_PROXY_PASS_URL=http://registry-srv:5000
- DELETE_IMAGES=true
- SINGLE_REGISTRY=true
networks:
- registry-ui-net
container_name: registry-ui
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/registry-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: registry
release: docker-registry-ui
app/version: "1.2.1"
app/version: "2.0.0"
spec:
replicas: 1
selector:
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/registry-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
app: registry
release: docker-registry-ui
app/version: "1.2.1"
app/version: "2.0.0"
name: docker-registry
spec:
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/registry-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: registry
release: docker-registry-ui
app/version: "1.2.1"
app/version: "2.0.0"
spec:
type: ClusterIP
ports:
Expand Down
6 changes: 4 additions & 2 deletions examples/kubernetes/ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: registry-ui
release: docker-registry-ui
app/version: "1.2.1"
app/version: "2.0.0"
spec:
replicas: 1
selector:
Expand All @@ -27,10 +27,12 @@ spec:
value: "Docker registry UI"
- name: DELETE_IMAGES
value: "false"
- name: REGISTRY_URL
- name: NGINX_PROXY_PASS_URL
value: "http://docker-registry.default:5000"
- name: PULL_URL
value: "docker-registry-ui.default:80"
- name: SINGLE_REGISTRY
value: "true"
ports:
- name: http
containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion examples/kubernetes/ui-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: registry-ui
release: docker-registry-ui
app/version: "1.2.1"
app/version: "2.0.0"
spec:
type: LoadBalancer
ports:
Expand Down
5 changes: 3 additions & 2 deletions examples/proxy-headers/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://registry:5000
- NGINX_PROXY_PASS_URL=http://registry:5000
- NGINX_PROXY_HEADER_X_Forwarded_For=$$proxy_add_x_forwarded_for
- SINGLE_REGISTRY=true
volumes:
- ./nginx.env:/etc/nginx/.env
depends_on:
Expand Down
3 changes: 2 additions & 1 deletion examples/read-only-auth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- SINGLE_REGISTRY=true
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./read-write.htpasswd:/etc/nginx/auth/read-write.htpasswd:ro
Expand Down
5 changes: 3 additions & 2 deletions examples/traefik/docker-compose-swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ services:
constraints: [node.role == manager]

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
environment:
- DELETE_IMAGES=true
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://docker-registry_registry:5000
- NGINX_PROXY_PASS_URL=http://docker-registry_registry:5000
- SINGLE_REGISTRY=true
depends_on: ['registry']
networks: ['proxy', 'default']
deploy:
Expand Down
5 changes: 3 additions & 2 deletions examples/ui-as-proxy/credentials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://registry:5000
- NGINX_PROXY_PASS_URL=http://registry:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
networks:
Expand Down
5 changes: 3 additions & 2 deletions examples/ui-as-proxy/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ services:
- registry-ui-net

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- REGISTRY_URL=http://registry:5000
- NGINX_PROXY_PASS_URL=http://registry:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
networks:
Expand Down
5 changes: 3 additions & 2 deletions examples/ui-as-standalone/credentials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ services:
- ./registry-config/htpasswd:/etc/docker/registry/htpasswd

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- URL=http://localhost:5000
- REGISTRY_URL=http://localhost:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
5 changes: 3 additions & 2 deletions examples/ui-as-standalone/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ services:
- ./registry-config/simple.yml:/etc/docker/registry/config.yml

ui:
image: joxit/docker-registry-ui:static
image: joxit/docker-registry-ui:latest
ports:
- 80:80
environment:
- REGISTRY_TITLE=My Private Docker Registry
- URL=http://localhost:5000
- REGISTRY_URL=http://localhost:5000
- SINGLE_REGISTRY=true
depends_on:
- registry
Loading

0 comments on commit 1c88ad5

Please sign in to comment.