app.conf 960 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. appname = ColdP_server
  2. HTTPPort = 6300
  3. runmode = dev
  4. EnableDocs = true
  5. copyrequestbody = true
  6. # Nats
  7. ; NatsServer_Url = "203.34.49.130:4222"
  8. NatsServer_Url = "192.168.0.5:4222"
  9. # Mysql
  10. MysqlServer_UrlPort = "192.168.0.88:3306"
  11. ; MysqlServer_UrlPort = "203.34.49.130:3306"
  12. MysqlServer_Database = "cold"
  13. MysqlServer_Username = "cold"
  14. ; MysqlServer_Password = "yjwyEckZS7rE5H"
  15. MysqlServer_Password = "yjwyEckZS7rE5H!"
  16. MysqlServer_MaxIdleConnections = 100
  17. MysqlServer_MaxOpenConnections = 200
  18. # Redis
  19. ; Redis_address = "203.34.49.130:6379"
  20. Redis_address = "192.168.0.5:6379"
  21. ; Redis_password = "redis_JJ56d5"
  22. Redis_password = "redis_wsxaMH"
  23. Redis_dbNum = "1"
  24. #MQTT
  25. Mqtt_suffix = "coldbaozhida.com"
  26. Mqtt_port = 1883
  27. Mqtt_username = coldp
  28. Mqtt_password = EHM5PpXDD579gmp
  29. Mqtt_UrlMqttjxit = "tcp://mqttjxit.coldbaozhida.com:1883"
  30. Mqtt_UrlMqttlodr = "tcp://mqttlodr.coldbaozhida.com:1883"
  31. #只有一个项目运行协程
  32. isRun = true
  33. #corn
  34. Cron = "0 */2 * * * *"