Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frimik/local-docker-registry-proxy
Local Docker registry proxy stack for swift K3D (and other) container-related workflows.
https://github.com/frimik/local-docker-registry-proxy
docker grafana k3d kubernetes prometheus traefik
Last synced: 1 day ago
JSON representation
Local Docker registry proxy stack for swift K3D (and other) container-related workflows.
- Host: GitHub
- URL: https://github.com/frimik/local-docker-registry-proxy
- Owner: frimik
- License: mit
- Created: 2020-11-11T23:46:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T00:58:04.000Z (almost 4 years ago)
- Last Synced: 2024-11-30T12:36:43.590Z (13 days ago)
- Topics: docker, grafana, k3d, kubernetes, prometheus, traefik
- Language: Makefile
- Homepage:
- Size: 405 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-devops - local-docker-registry-proxy - Local Docker registry proxy stack for swift K3D (and other) container-related workflows. (Docker / Observability)
README
# local-docker-registry-proxy
Proxies Docker registries:
- quay.io
- docker.io
- gcr.ioAll you need is to `mkcert "*.local"` and place the certificate
files in [the proper place](services/traefik/certs) according to the filenames dictated by [config.toml](services/traefik/traefik/dynamic/config.toml)![Screenshot](screenshot.png)
## Usage
```sh
docker-compose up
```## k3d
```sh
k3d cluster create \
--servers 1 \
--agents 1 \
--k3s-server-arg='--no-deploy=traefik' \
--volume "${HOME}/dev/local-docker-registry-proxy/registries.yaml:/etc/rancher/k3s/registries.yaml" \
--volume "${HOME}/.local/share/mkcert/rootCA.pem:/etc/ssl/certs/Registry_Root_CA.pem" \
--wait \
--network k3d-backend
```## Links
- http://localhost:3000 - Grafana
- http://localhost:5000 - Local Docker Registry
- http://localhost:8080 - Traefik
- http://localhost:8000/registry-local/metrics - Prometheus metrics endpoint of `registry-local` instance.
- http://localhost:8000/registry-quayio/metrics - Prometheus metrics endpoint of `registry-quayio` instance.
- http://localhost:8000/registry-dockerio/metrics - Prometheus metrics endpoint of `registry-dockerio` instance.
- http://localhost:8000/registry-gcrio/metrics - Prometheus metrics endpoint of `registry-dockerio` instance.
- http://localhost:9090 - Prometheus