local.conf 844 字节
[local]
config_name = "local"
#----beego的默认配置 开始---
#端口号
httpport = 8081
#开启应用内监控
EnableAdmin = true
AdminPort = 8088
##---beego的默认配置 结束---

#---自定义配置 开始----
#数据库连接
# sqlconn = "root:root@tcp(127.0.0.1:3306)/ability_display?charset=utf8&loc=Asia%2FShanghai"
mysql_user = "${MYSQL_USER||root}"
mysql_password = "${MYSQL_PASSWORD||sutianxia2015}"
mysql_host = "${MYSQL_HOST||115.29.205.99}"
mysql_port = "${MYSQL_PORT||3306}"
mysql_db_name = "${MYSQL_DB_NAME||opportunity}"
#redis相关配置
redis_add_port         = "127.0.0.1:6379"
redis_auth              = ""
#log相关配置
#out_put:"console","file"
log_output  = "file" 
#
log_filename = "./log/ability.log"
# maxlines =
# maxsize =
# daily =
# maxdays =
# rotate =
log_level = "debug"
#---自定义配置 结束----