GithubHelp home page GithubHelp logo

dundee / docker-registry-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pstauffer/docker-registry-frontend

0.0 3.0 0.0 294 KB

Simple flask-app to display the images and tags

License: MIT License

Python 43.93% HTML 50.23% Makefile 1.46% Dockerfile 4.38%

docker-registry-frontend's Introduction

docker-registry-frontend

Description

This is a simple frontend for the official docker-registry. The idea was to create a readonly frontend to only display all available repositories and tags.

To get an overview, just checkout the screenshots. At the moment are the following features implemented:

  • List all repositories
  • List all tags of a repository
  • Show tag details

The application can be run as docker containter or as standalone application.

Run as Docker container

This application is automated build and available on docker hub.

Preparation

Change the environment variable REGISTRY_URL in the docker-compose.yml file.

REGISTRY_URL=https://docker-registry.example.com

Base URL

This setting is optional, but if you need to set a base_url with a specified path for your docker-registry frontend, use the variable FRONTEND_URL.

FRONTEND_URL=https://registry.example.com/frontend

Basic Authentication

If the docker registry has basic authentication activated, you have to set the following environment variables in the docker-compose.yml file.

REGISTRY_AUTH=True
REGISTRY_USER=<user>
REGISTRY_PW=<password>

Run Container

This will run the frontend application and a proxy container, which will forward your request to the application:

docker-compose up -d

After you've started the containers, the application is available on port 80.

SSL verification

If you need to disable SSL verification of the registry, you can do so via REGISTRY_VERIFY_SSL:

export REGISTRY_VERIFY_SSL=0

Debugging

docker-compse logs

Run as standalone application

virtualenv

# install virtualenv and dependencies
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt

# set registry url
export REGISTRY_URL=https://docker-registry.example.com

# run application
python app.py

To Do

  • Docs> How to run as standalone app (also with virtualenv)
  • Docs> Link to official docker-compose docu
  • Docs> How to run without docker-compose
  • Feature> Add a configuration file
  • Bugfix> Change port, not 5000 (conflict with docker-registry)
  • Tests> Is it needed to expose the app port (maybe for the nginx container?!)
  • Tests> Basic Auth as Container & Standalone App

Informations

Screenshots

Here are some screenshots to get an overview about the docker-registry frontend.

Repositories List Repository Info Tag Info

License

This project is licensed under MIT.

docker-registry-frontend's People

Contributors

dependabot[bot] avatar dundee avatar pstauffer avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.