Change port in Consul documentation (#418)

* Fix Consul default port

the default port for the consul api is 8500 not 9500 - https://www.consul.io/docs/agent/options.html

* Fix typo
This commit is contained in:
JoJo2406 2018-06-19 20:54:57 +01:00 committed by Tom Pallister
parent 347303ee7b
commit e0f76210f7

View File

@ -18,7 +18,7 @@ will be used.
"ServiceDiscoveryProvider": {
"Host": "localhost",
"Port": 9500
"Port": 8500
}
In the future we can add a feature that allows ReRoute specfic configuration.
@ -49,9 +49,9 @@ A lot of people have asked me to implement a feature where Ocelot polls consul f
"ServiceDiscoveryProvider": {
"Host": "localhost",
"Port": 9500,
"Port": 8500,
"Type": "PollConsul",
"PollingInteral": 100
"PollingInterval": 100
}
The polling interval is in milliseconds and tells Ocelot how often to call Consul for changes in service configuration.
@ -67,7 +67,7 @@ If you are using ACL with Consul Ocelot supports adding the X-Consul-Token heade
"ServiceDiscoveryProvider": {
"Host": "localhost",
"Port": 9500,
"Port": 8500,
"Token": "footoken"
}