Skip to content

Sample project of using hashicorp/memberlist in docker-compose

License

Notifications You must be signed in to change notification settings

corani/docker-memberlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker memberlist

This is a sample project for using https://github.com/hashicorp/memberlist in docker-compose. It spins up three containers containing the same app, with the second and third instances joining the first one.

Usage:

$ ./build.sh -d         # builds the docker image
$ ./build.sh -up        # starts the instances
$ ./build.sh -down      # removes the instances

Prerequisites:

  • Docker
  • Docker Compose

Note: The instances expose an HTTP endpoint on 8080, 8081 and 8082 respectively, where they list their known peers.

About

Sample project of using hashicorp/memberlist in docker-compose

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published