This is
...
a simple configuration
...
Example of the Consul(ConsulAgent) configuration file.
Code Block | ||||
---|---|---|---|---|
| ||||
{"datacenter":"od-InterfacesServer","data_dir":"E:\\consulAgent\\Data","log_level":"INFO","node_name":"127.0.0.1","server":true,"bind_addr":"127.0.0.1","connect":{"enabled":true},"services":[{"id":"ODIS_DMS2DSW","name":"ODISDms2Dsw","tags":["primary"],"address":"127.0.0.1","port":50100},{"id":"ODIS_DSW2DMS","name":"ODISDsw2Dms","tags":["primary"],"address":"127.0.0.1","port":50120},{"id":"ODSimpleOath","name":"ODISSimpleOath","tags":["primary"],"address":"127.0.0.1","port":50200}],"dns_config":{"allow_stale":false,"service_ttl":{"*":"0s"},"node_ttl":"0s"},"ui_config":{"content_path":"/ui/","enabled":true},"acl":{"enabled":false,"default_policy":"deny","enable_token_persistence":true}} |
Ocelot configuration file example:
...
language | text |
---|---|
title | Ocelot routing |
...
guide for ODIS.