prod.conf
564 字节
[prod]
config_name = "prod"
#----beego的默认配置 开始---
#端口号
httpport = 8080
##---beego的默认配置 结束---
#---自定义配置 开始----
#数据库连接
sqlconn = "${MYSQL_CONN||root:sutianxia2015@tcp(115.29.205.99:3306)/opportunity?charset=utf8&loc=Asia%2FShanghai}"
#redis相关配置
redis_add_port = "127.0.0.1:6379"
redis_auth = ""
#log相关配置
#out_put:"console","file"
log_output = "file"
log_filename = "${LOG_FILENAME||./log/ability.log}"
log_level = "${LOG_LEVEL||debug}"
#---自定义配置 结束----