Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is

...

a simple configuration

...

Example of the Consul(ConsulAgent) configuration file.

Code Block
languagetext
titleConsul configuration conf.json
{"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:

...

languagetext
titleOcelot routing

...

guide for ODIS.