Update readme for consul syntax changes
This commit is contained in:
parent
de2ee66cda
commit
c53a51c959
@ -108,7 +108,7 @@ etcd, kubernetes, zookeeper, etc. Other implementations can be found in [go-plug
|
|||||||
|
|
||||||
### Run Consul
|
### Run Consul
|
||||||
```
|
```
|
||||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
$ consul agent -dev -advertise=127.0.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run Service
|
### Run Service
|
||||||
|
@ -9,7 +9,7 @@ Install Consul
|
|||||||
|
|
||||||
Run Consul
|
Run Consul
|
||||||
```
|
```
|
||||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
$ consul agent -dev -advertise=127.0.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Run Service
|
Run Service
|
||||||
|
@ -12,7 +12,7 @@ its easily swapped out with etcd, kubernetes, or various other systems. We'll ru
|
|||||||
2. Run Consul
|
2. Run Consul
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
$ consul agent -dev -advertise=127.0.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run the example
|
## Run the example
|
||||||
|
Loading…
Reference in New Issue
Block a user