https://github.com/corani/docker-groupcache
Sample project of using mailgun/groupcache in docker-compose
https://github.com/corani/docker-groupcache
docker docker-compose golang groupcache
Last synced: 2 months ago
JSON representation
Sample project of using mailgun/groupcache in docker-compose
- Host: GitHub
- URL: https://github.com/corani/docker-groupcache
- Owner: corani
- License: mit
- Created: 2023-03-10T03:09:25.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T03:11:32.000Z (about 2 years ago)
- Last Synced: 2025-02-14T01:24:07.007Z (4 months ago)
- Topics: docker, docker-compose, golang, groupcache
- Language: Go
- Homepage:
- Size: 1.47 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker groupcache
This is a sample project for using https://github.com/mailgun/groupcache in docker-compose. It spins up three containers containing the same app joining the same group.
Usage:
```bash
$ ./build.sh -d # builds the docker image
$ ./build.sh -up # starts the instances
$ ./build.sh -down # removes the instances
```Prerequisites:
- Docker
- Docker ComposeNote:
The instances expose an HTTP endpoint on `8080`, `8081` and `8082` respectively.