32 lines
934 B
Python
32 lines
934 B
Python
mqtt_server = "198.11.183.112"
|
|
mqtt_port = 1883
|
|
mqtt_user = 'admin'
|
|
mqtt_pass = 'public'
|
|
|
|
redis_server = '127.0.0.1'
|
|
redis_port = 6379
|
|
redis_database = 0
|
|
|
|
#
|
|
# mysql_host = '124.71.161.49' # 链接
|
|
# mysql_port = 3306 # 端口
|
|
# mysql_user = 'cxaibc' # 登录账户
|
|
# mysql_pass = 'tm2CtPfmRXSif6mn' # 登录密码
|
|
# mysql_db = 'cxaibc' # 登录数据库
|
|
# mysql_charset = 'utf8mb4' # 编码
|
|
mysql_host = '127.0.0.1' # 链接
|
|
mysql_port = 3306 # 端口
|
|
mysql_user = 'root' # 登录账户
|
|
mysql_pass = 'root' # 登录密码
|
|
mysql_db = 'cxaibcbi' # 登录数据库
|
|
mysql_charset = 'utf8mb4' # 编码
|
|
|
|
is_debug = True # 调试阶段,有打开信息
|
|
|
|
# 使用此队列入库到数据库
|
|
redis_name_mqtt_sub_list = "console:cxaibc:mqtt:sub:list"
|
|
# 使用此队列入库到数据库
|
|
redis_name_mysql_sub_list = "console:cxaibc:mysql:sub:list"
|
|
|
|
console_send = "/www/wwwroot/wwwroot/cxaibcbi/yii send-mqtt"
|
|
console_send_audio = "/www/wwwroot/wwwroot/cxaibcbi/yii send-mqtt-audio" |