Git Product home page Git Product logo

consul-docker-test's Introduction

consul-docker-test

Terraform Modules and Examples to help with setting up test Consul clusters in Docker.

Modules

There is a server module as well as a client module for configuring servers and clients within a datacenter respectively. The server module has two important outputs join and wan_join. These can be used as extra_args to further invocations of these modules to cause other clients or servers to join the cluster properly.

Examples

  • simple-with-ui - Runs a single 3 server DC + 1 client agent with the UI enabled. The UI client will be port mapped so that 8500/8600 are available outside the container.

  • multi-dc - Runs two datacenters (primary, secondary). Each DC has 3 servers and 1 client with the UI enabled. The primary UI/DNS will be on 8500/8600 and the secondary on 8501/8601. This setup uses 3 docker networks (primary, secondary, wan). The client agents only are connected to either the primary or secondary and servers get connect to one of those + wan. Cross-DC communications happen over the wan network.

  • mesh-gateway - This starts out as multi-dc but then adds a bunch more. See the README

consul-docker-test's People

Contributors

mikemorris avatar mkeeler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.