mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
8 lines
161 B
Bash
Executable File
8 lines
161 B
Bash
Executable File
#!/bin/sh
|
|
|
|
disc=$(curl https://discovery.etcd.io/new?size=3)
|
|
echo ETCD_DISCOVERY=${disc} > .env
|
|
echo "setup discovery start your cluster"
|
|
cat .env
|
|
goreman start
|