GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - deployable/docker-consul: A Docker Compose Consul network definition

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
basic_config.json
basic_config.json
 
 
docker-compose-init.yml
docker-compose-init.yml
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Consul Cluster - Docker Compose Definition

A docker compose definition for a consul network, including registrator based on the default consul image.

The definition includes 3 servers, 2 agents and 1 registrator in a cluster on a single Docker node.

To start the cluster

docker-compose up -d

To inspect the logs

docker-compose logs

To init data

docker-compose -f docker-compose-init.yml run consul_init

To reset

docker-compose down -v

Port Mappings

Server 1

  • '8310:8300/udp'
  • '8311:8301/udp'
  • '8312:8302/udp'
  • '8411:8400/tcp'

Server 2

  • '8320:8300/udp'
  • '8321:8301/udp'
  • '8322:8302/udp'
  • '8412:8400/tcp'

Server 3

  • '8330:8300/udp'
  • '8331:8301/udp'
  • '8332:8302/udp'
  • '8413:8400/tcp'

Client 1

  • '8421:8400/tcp'
  • '8521:8500/tcp'
  • '8621:8600/udp'
  • '8621:8600/tcp'

Client 2

  • '8422:8400/tcp'
  • '8522:8500/tcp'
  • '8622:8600/udp'
  • '8622:8600/tcp'

The basic_config.json file is mounted into each consul instance. The hashicorp "ping"/update check is disabled.

About

A Docker Compose Consul network definition

Topics

consuldeployabledockerdocker-composeregistrator

Resources

Readme
Activity

Stars

11 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.