Skip to content

Commit

Permalink
Merge pull request kelseyhightower#396 from elsonrodriguez/multiple-srv
Browse files Browse the repository at this point in the history
Adding example goreman Procfile for etcd
  • Loading branch information
kelseyhightower committed Feb 23, 2016
2 parents aae4190 + 26b26a3 commit f3a02e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/etcd/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Use goreman to run `go get github.com/mattn/goreman`
etcd0: /usr/local/bin/etcd --name etcd0 --listen-client-urls http://127.0.0.1:2379 --advertise-client-urls http://127.0.0.1:2379 --listen-peer-urls http://127.0.0.1:2380 --initial-advertise-peer-urls http://127.0.0.1:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'etcd0=http://127.0.0.1:2380,etcd1=http://127.0.0.1:12380,etcd2=http://127.0.0.1:22380,etcd3=http://127.0.0.1:32380,etcd4=http://127.0.0.1:42380' --initial-cluster-state new --data-dir=/tmp/etcd0
etcd1: /usr/local/bin/etcd --name etcd1 --listen-client-urls http://127.0.0.1:12379 --advertise-client-urls http://127.0.0.1:12379 --listen-peer-urls http://127.0.0.1:12380 --initial-advertise-peer-urls http://127.0.0.1:12380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'etcd0=http://127.0.0.1:2380,etcd1=http://127.0.0.1:12380,etcd2=http://127.0.0.1:22380,etcd3=http://127.0.0.1:32380,etcd4=http://127.0.0.1:42380' --initial-cluster-state new --data-dir=/tmp/etcd1
etcd2: /usr/local/bin/etcd --name etcd2 --listen-client-urls http://127.0.0.1:22379 --advertise-client-urls http://127.0.0.1:22379 --listen-peer-urls http://127.0.0.1:22380 --initial-advertise-peer-urls http://127.0.0.1:22380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'etcd0=http://127.0.0.1:2380,etcd1=http://127.0.0.1:12380,etcd2=http://127.0.0.1:22380,etcd3=http://127.0.0.1:32380,etcd4=http://127.0.0.1:42380' --initial-cluster-state new --data-dir=/tmp/etcd2
etcd3: /usr/local/bin/etcd --name etcd3 --listen-client-urls http://127.0.0.1:32379 --advertise-client-urls http://127.0.0.1:32379 --listen-peer-urls http://127.0.0.1:32380 --initial-advertise-peer-urls http://127.0.0.1:32380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'etcd0=http://127.0.0.1:2380,etcd1=http://127.0.0.1:12380,etcd2=http://127.0.0.1:22380,etcd3=http://127.0.0.1:32380,etcd4=http://127.0.0.1:42380' --initial-cluster-state new --data-dir=/tmp/etcd3
etcd4: /usr/local/bin/etcd --name etcd4 --listen-client-urls http://127.0.0.1:42379 --advertise-client-urls http://127.0.0.1:42379 --listen-peer-urls http://127.0.0.1:42380 --initial-advertise-peer-urls http://127.0.0.1:42380 --initial-cluster-token etcd-cluster-1 --initial-cluster 'etcd0=http://127.0.0.1:2380,etcd1=http://127.0.0.1:12380,etcd2=http://127.0.0.1:22380,etcd3=http://127.0.0.1:32380,etcd4=http://127.0.0.1:42380' --initial-cluster-state new --data-dir=/tmp/etcd4

0 comments on commit f3a02e7

Please sign in to comment.