正在显示
1 个修改的文件
包含
40 行增加
和
0 行删除
conf/preonline.conf
0 → 100644
| 1 | +[preonline] | ||
| 2 | +config_name = "preonline" | ||
| 3 | +#----beego的默认配置 开始--- | ||
| 4 | +#端口号 | ||
| 5 | +httpport = 8080 | ||
| 6 | +#开启应用内监控 | ||
| 7 | +EnableAdmin = false | ||
| 8 | +AdminPort = 8088 | ||
| 9 | +#---beego的默认配置 结束--- | ||
| 10 | + | ||
| 11 | +#---自定义配置 开始---- | ||
| 12 | +##数据库连接 | ||
| 13 | +# sqlconn ="${MYSQL_CONN||root:sutianxia2015@tcp(115.29.205.99:3306)/opportunity?charset=utf8&loc=Asia%2FShanghai}" | ||
| 14 | +mysql_user = "${MYSQL_USER||root}" | ||
| 15 | +mysql_password = "${MYSQL_PASSWORD||sutianxia2018}" | ||
| 16 | +mysql_host = "${MYSQL_HOST||101.37.68.23}" | ||
| 17 | +mysql_port = "${MYSQL_PORT||3306}" | ||
| 18 | +mysql_db_name = "${MYSQL_DB_NAME||opportunity}" | ||
| 19 | +##redis相关配置 | ||
| 20 | +redis_add = "${REDIS_HOST||127.0.0.1}" | ||
| 21 | +redis_add_port = "${REDIS_PORT||6379}" | ||
| 22 | +redis_auth = "" | ||
| 23 | +##log相关配置 | ||
| 24 | +##out_put:"console","file" | ||
| 25 | +log_output = "file" | ||
| 26 | +log_filename = "${aliyun_logs_access||./log/ability.log}" | ||
| 27 | +log_level = "${LOG_LEVEL||error}" | ||
| 28 | + | ||
| 29 | +##统一用户中心相关配置 | ||
| 30 | +ucenter_check_alt = "rsF0pL!6DwjBO735" | ||
| 31 | +ucenter_base_url = "http://suplus-ucenter-preonline.fjmaimaimai.com/r" | ||
| 32 | +ucenter_app_key = "39aefef9e22744a3b2d2d3791824ae7b" | ||
| 33 | +ucenter_secret = "cykbjnfqgctn" | ||
| 34 | + | ||
| 35 | +# 上传文件保存路径 | ||
| 36 | +file_save_path = "/var/www/oppmg/file/opportunity" | ||
| 37 | +file_host = "https://public-interface.fjmaimaimai.com/opportunitymg" | ||
| 38 | +file_host_path = "/file/opp" | ||
| 39 | + | ||
| 40 | +#---自定义配置 结束---- |
-
请 注册 或 登录 后发表评论