Sign inSign up

airenas/consul-esm

By airenas

•Updated about 5 years ago

Unofficial Consul-esm runtime

Image
1

259

airenas/consul-esm repository overview

⁠Unofficial Consul-esm runtime

It runs the consul-esm service in a docker container. It requires a consul server to connect with. The service can be provided using CONSUL_HTTP_ADDR environment setting. Other available environment settings are listed in the official consul-esm documentation: https://github.com/hashicorp/consul-esm#configuration⁠.

⁠Run

⁠Docker

Let say a consul runs at http://<some-URL>:8500. So a sample cmd to run the container using docker:

docker run --env CONSUL_HTTP_ADDR=http://<some-URL>:8500 airenas/consul-esm:0.5.0
⁠docker-compose

Sample docker-compose.yaml:

version: '3.7'
services:
  consul:
    image: hashicorp/consul:1.10.1
    container_name: consul
    restart: unless-stopped
    volumes:
     - ./data/consul/server.json:/consul/config/server.json:ro
     - ./data/consul/data:/consul/data:rw 
    ports:
      - "8500:8500"
    command: "agent"

  consul-esm:
    image: airenas/consul-esm:0.5.0
    container_name: consul-esm
    restart: unless-stopped
    environment:
      - CONSUL_HTTP_ADDR=consul:8500
    cap_add:
      - NET_ADMIN
      - NET_RAW
    sysctls:
     - "net.ipv4.ping_group_range=0 65535"

Tag summary

Content type

Image

Digest

Size

15 MB

Last updated

about 5 years ago

docker pull airenas/consul-esm:0.5.0