joseluisq/envoy-docker-registry

By joseluisq

Updated almost 6 years ago

Envoy / Alpine and Docker Registry x86_64 image. [UNMAINTAINED]

Image
0

309

Envoy / Docker Registry Docker Cloud Build Status [UNMAINTAINED]

Overview

This image contains Envoy and Docker Registry binaries as well as Alpine x86_64 for using it as an Envoy Service together with your Envoy Proxy.

Usage

docker run --rm -it joseluisq/envoy-docker-registry:v1.1.0
Dockerfile

You can also use the image as a base for your own Dockerfile:

FROM joseluisq/envoy-docker-registry:v1.1.0
Docker Compose

Below a Front Proxy example using docker-registry as an Envoy service:

version: "3.3"

services:
  # Envoy proxy
  front-proxy:
    image: envoyproxy/envoy:latest
    command: /usr/local/bin/envoy -c /etc/envoy-front-proxy.yaml --service-cluster front-proxy
    volumes:
      - ./front-proxy.envoy.yaml:/etc/envoy-front-proxy.yaml
    networks:
      - envoymesh
    ports:
      - "80:80"
      - "8001:8001"

  # Envoy Service
  docker-registry:
    restart: unless-stopped
    image: joseluisq/envoy-docker-registry:latest
    environment:
      # Docker Registry env variable
      - REGISTRY_HTTP_ADDR=0.0.0.0:5000
      # Envoy service name
      - SERVICE_NAME=docker_registry
    volumes:
      - registry_data:/var/lib/registry
      - ./docker-registry.envoy.yaml:/etc/envoy-service.yaml
    networks:
      envoymesh:
        aliases:
          - docker_registry

volumes:
  registry_data:

networks:
  envoymesh:
    external:
      name: envoymesh

Options

Envoy
  • SERVICE_NAME : The name of the Envoy service.
Docker Registry

All configuration variables like REGISTRY_HTTP_ADDR, etc.

Contributions

Feel free to send some Pull request or issue.

License

MIT license

© 2019 Jose Quintana

Docker Pull Command

docker pull joseluisq/envoy-docker-registry