Skip to content

Latest commit

 

History

History
71 lines (41 loc) · 2.31 KB

README.md

File metadata and controls

71 lines (41 loc) · 2.31 KB

CI Codacy Badge Codacy Badge DockerHub Badge

docker-registry-frontend

🐳 A custom frontend for a selfhosted Docker registry.

Deployment

The directory docker/example contains example configuration for Docker Compose.

Docker Image

docker pull axelrindle/docker-registry-frontend:<VERSION>

Replace <VERSION> with latest or any available release tag.

Configuration

Configuration is done via environment variables.

REACT_APP_REGISTRY_API_URL

Required

Specifies the registry endpoint to use.

REACT_APP_REGISTRY_API_URL=http://localhost:5000

Volumes

All application data will be stored inside the container at /data. Mount a volume at that point to persist that data.

Ports

The container exposes two ports:

  • 80 for HTTP

  • 443 for HTTPS (see below)

HTTPS Connection

By default, a custom certificate is generated if none is found inside the data directory.

To use your own certificate, mount it & it's key onto the following files inside the container:

  • Certificate: /data/ssl/server.crt

  • Key: /data/ssl/server.key

Development

  1. Configure the application using a .env file.
  2. npm install
  3. npm start
  4. Navigate to http://localhost:3000

License

MIT

Copyright Notices