🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

consul-doppelganger

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consul-doppelganger

Pretend to be a consul service

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Doppelgänger

Write .yml files to define Consul services.

- name: facebook
  tags: ['master']
  port: 80

- name: twitter
  tags: ['master']
  port: 8080

Run the doppelganger daemon to register the services with Consul. Send a SIGHUP to refresh. Doppelganger will communicate with a local Consul agent or using the environment variable CONSUL_HOST.

The 'doppelganger' tag is used to highlight these new services.

Installation

npm install -g redwire-doppelganger

This will provide the doppelganger command line daemon.

To reload any changes send a SIGHUP to the doppelganger daemon

Docker Container

A docker container has been provided that bundles Consul 1.4, Doppelganger and Redwire to provide a facade. Check out doppelganger.yml and the examples folder for configuration. Works well with tugboat.

The image will be available on the docker hub as metocean/doppelganger soon.

FAQs

Package last updated on 17 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts