config-service.yaml 885 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. log:
  2. fileName: comm-bus.log
  3. level: 1
  4. serviceName: bus
  5. configer:
  6. -
  7. name: tree-mongo
  8. value: mongodb://root:tree@tree-mongo:27017/queentree?authSource=admin
  9. devValue: mongodb://root:tree@124.71.139.24:37019/queentree?authSource=admin
  10. # devValue: mongodb://root:tree@127.0.0.1:37019/queentree?authSource=admin
  11. -
  12. name: redis
  13. value: redis:6379#0#root#packtree
  14. - name: bus-network #外网bus地址
  15. # value: nats://124.71.139.24:14220
  16. value: nats://192.168.0.162:14220
  17. # adapter:
  18. # -
  19. # busName:
  20. # service2
  21. # nats:
  22. # nats://pack2-nats-1:4222
  23. # apis:
  24. # - service2.licence.check
  25. # streams:
  26. # - service2-vip-pay#service2.pay.succ
  27. startLocalNats: true
  28. startNatsShellParams: "-p 4222 -m 8222 -js -c server.conf"
  29. startNatsPort: 4222
  30. nats:
  31. url: nats://bus:4222
  32. maxReconnect: 10000
  33. reconnDelaySecond: 5