mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2026-02-19 21:29:51 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf9c6c82e7 | ||
|
|
c74a9aeaa3 | ||
|
|
42bcec50df | ||
|
|
18dd5ca129 | ||
|
|
84b31f2cfb | ||
|
|
16d01d4dbf | ||
|
|
834a0ea40a |
@@ -12,7 +12,7 @@
|
||||
#
|
||||
# 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/>.
|
||||
FROM nginx:alpine
|
||||
FROM nginx:alpine-slim
|
||||
|
||||
LABEL maintainer="Jones MAGLOIRE @Joxit"
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ If you like my work and want to support it, don't hesitate to [sponsor me](https
|
||||
- You can select the search bar with the shortcut `CRTL + F` or `F3`. When the search bar is already focused, the shortcut will fallback to the default behavior (see [#213](https://github.com/Joxit/docker-registry-ui/issues/213)). Since 2.1.0
|
||||
- Multi arch support in history page (see [#130](https://github.com/Joxit/docker-registry-ui/issues/130) and [#134](https://github.com/Joxit/docker-registry-ui/pull/134)). Since 1.5.0
|
||||
- Show the content of the dockerfile (see [#286](https://github.com/Joxit/docker-registry-ui/pull/286)). Since 2.4.0
|
||||
- The UI will cache requests from your registry, such as blobs and some manifets (URL with `sha256:`).
|
||||
- The UI will cache requests from your registry, such as blobs and some manifests (URL with `sha256:`).
|
||||
|
||||
Checkout all options in [Available options](#available-options) section.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ for i in arm64v8 arm32v7 master latest debian main; do
|
||||
docker push 127.0.0.1:5000/joxit/docker-registry-ui:$i
|
||||
done
|
||||
|
||||
for v in 1.1 1.2 1.3 1.4 1.5 2.0 2 2.0.0 2.1 2.1.0 2.2 2.2.0 2.3 2.3.0 2.4 2.4.0; do
|
||||
for v in 1.1 1.2 1.3 1.4 1.5 2.0 2 2.0.0 2.1 2.1.0 2.2 2.2.0 2.3 2.3.0 2.4 2.4.0 2.5.0; do
|
||||
for type in "-debian" ""; do
|
||||
docker pull joxit/docker-registry-ui:$v$type
|
||||
docker tag joxit/docker-registry-ui:$v$type 127.0.0.1:5000/joxit/docker-registry-ui:$v$type
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
single-registry="false"
|
||||
default-registries="https://joxit.dev/docker-registry-demo"
|
||||
show-catalog-nb-tags="true"
|
||||
taglist-order=""
|
||||
theme="auto"
|
||||
/>
|
||||
<script>
|
||||
|
||||
2
dist/docker-registry-ui.js
vendored
2
dist/docker-registry-ui.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 MiB After Width: | Height: | Size: 3.6 MiB |
@@ -6,5 +6,5 @@ There are two htpasswd files. `read-write.htpasswd` a read and write access to t
|
||||
|
||||
All users in `read-only.htpasswd` should be in `read-write.htpasswd`.
|
||||
|
||||
Read only user: login: `read` password: `regisrty`.
|
||||
Read and write user: login: `write` password: `regisrty`.
|
||||
Read only user: login: `read` password: `registry`.
|
||||
Read and write user: login: `write` password: `registry`.
|
||||
|
||||
@@ -12,7 +12,7 @@ bash run-swarm.sh
|
||||
|
||||
## Authentication
|
||||
|
||||
The registry is protected via __Basic authentication__ but feel free to use wathever you like.
|
||||
The registry is protected via __Basic authentication__ but feel free to use whatever you like.
|
||||
In this sample, credentials are: **admin / admin**.
|
||||
|
||||
To generate a new password for basic auth, run the command: `htpasswd -nb username password`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docker-registry-ui",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"format": "npm run format-html && npm run format-js && npm run format-riot",
|
||||
|
||||
@@ -30,7 +30,7 @@ const getVersion = (version) => {
|
||||
return version;
|
||||
};
|
||||
|
||||
fs.writeFileSync('.version.json', JSON.stringify({ version: getVersion(version) }));
|
||||
fs.writeFileSync('.version.json', JSON.stringify({ version: getVersion(version), latest: version }));
|
||||
|
||||
const plugins = [
|
||||
riot(),
|
||||
|
||||
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<material-navbar>
|
||||
<span class="logo">
|
||||
<span>Docker Registry UI</span>
|
||||
<version-notification version="{ version }" on-notify="{ notifySnackbar }"></version-notification>
|
||||
<version-notification version="{ latest }" on-notify="{ notifySnackbar }"></version-notification>
|
||||
</span>
|
||||
<div class="menu">
|
||||
<search-bar on-search="{ onSearch }"></search-bar>
|
||||
@@ -137,7 +137,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</material-footer>
|
||||
</footer>
|
||||
<script>
|
||||
import { version } from '../../.version.json';
|
||||
import { version, latest } from '../../.version.json';
|
||||
import { Router, Route } from '@riotjs/route';
|
||||
import Catalog from './catalog/catalog.riot';
|
||||
import TagList from './tag-list/tag-list.riot';
|
||||
@@ -260,6 +260,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
baseRoute: '([^#]*?)/(\\?[^#]*?)?(#!)?(/?)',
|
||||
router,
|
||||
version,
|
||||
latest,
|
||||
truthy,
|
||||
stringToArray,
|
||||
};
|
||||
|
||||
@@ -238,7 +238,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
return selectedImage;
|
||||
} else {
|
||||
let shouldChange = false;
|
||||
const tags = getPage(this.props.tags, this.props.page);
|
||||
const tags = this.getPage(this.props.tags, this.props.page);
|
||||
tags
|
||||
.filter((image) => {
|
||||
if (image == this.state.selectedImage || image == selectedImage) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<material-popup opened="{ state.open }" onClick="{ onClose }">
|
||||
<div class="material-popup-title">Check for updates</div>
|
||||
<div class="material-popup-content">
|
||||
<p>The version <b>{ state.tag_name }</b> of Docker Regisrty UI now available.</p>
|
||||
<p>The version <b>{ state.tag_name }</b> of Docker Registry UI now available.</p>
|
||||
<p>You can download the lastest version with docker.</p>
|
||||
<code>joxit/docker-registry-ui:{ state.tag_name }</code>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user