An open API service indexing awesome lists of open source software.

https://github.com/corani/docker-memberlist

Sample project of using hashicorp/memberlist in docker-compose
https://github.com/corani/docker-memberlist

docker docker-compose golang memberlist

Last synced: 7 months ago
JSON representation

Sample project of using hashicorp/memberlist in docker-compose

Awesome Lists containing this project

README

          

# 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:

```bash
$ ./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.