db.yaml 601 B

12345678910111213141516171819202122232425262728
  1. Name: db.rpc
  2. ListenOn: 0.0.0.0:3001
  3. Etcd:
  4. Hosts:
  5. - 101.33.209.36:2379
  6. Key: db.rpc
  7. Log:
  8. ServiceName: db
  9. Level: info
  10. # 日志设置
  11. Mode: volume
  12. KeepDays: 30
  13. Mysql:
  14. # DataSource: "root:yyxx@server#//.2021@tcp(192.168.0.226:3306)/service_center?charset=utf8mb4&parseTime=True&loc=Local"
  15. DataSource: "root:123456//.2021@tcp(121.5.13.227:3306)/service_center?charset=utf8mb4&parseTime=True&loc=Local"
  16. #CacheRedis:
  17. # - Host: 192.168.0.226:27549
  18. # Pass: redis!python
  19. # Type: node
  20. EsConf:
  21. UserName: admin
  22. Password: YYxx#@3976!
  23. Addresses:
  24. - "http://101.33.209.36:9200"