Skip to content

retr0h/compose-etcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

compose-etcd

Had a hard time finding one of these.

Prerequisites

A MacOS installed Docker requires the following

Update hosts file with:

172.16.238.11 etcd-0
172.16.238.12 etcd-1
172.16.238.13 etcd-2

Add aliases

$ sudo ifconfig lo0 alias 172.16.238.11
$ sudo ifconfig lo0 alias 172.16.238.12
$ sudo ifconfig lo0 alias 172.16.238.13

Usage

Start the cluster:

$ docker-compose up -d

Stop the cluster:

$ docker-compose down

Verify the cluster's health:

$ source .env
$ etcdctl --endpoints ${ENDPOINTS} cluster-health

License

MIT

About

A docker compose etcd cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages