mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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
|
||||
```
|
||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
||||
$ consul agent -dev -advertise=127.0.0.1
|
||||
```
|
||||
|
||||
### Run Service
|
||||
|
@ -9,7 +9,7 @@ Install Consul
|
||||
|
||||
Run Consul
|
||||
```
|
||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
||||
$ consul agent -dev -advertise=127.0.0.1
|
||||
```
|
||||
|
||||
Run Service
|
||||
|
@ -12,7 +12,7 @@ its easily swapped out with etcd, kubernetes, or various other systems. We'll ru
|
||||
2. Run Consul
|
||||
|
||||
```shell
|
||||
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
|
||||
$ consul agent -dev -advertise=127.0.0.1
|
||||
```
|
||||
|
||||
## Run the example
|
||||
|
Loading…
Reference in New Issue
Block a user