更新配置文件
This commit is contained in:
parent
21b1be03a5
commit
51f41ab996
|
@ -1,12 +1,11 @@
|
||||||
settings:
|
settings:
|
||||||
application:
|
application:
|
||||||
# dev开发环境 test测试环境 prod线上环境
|
# dev开发环境 test测试环境 prod线上环境
|
||||||
mode: dev
|
mode: prod
|
||||||
# 服务器ip,默认使用 0.0.0.0
|
# 服务器ip,默认使用 0.0.0.0
|
||||||
# host: 192.168.1.109
|
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
# 服务名称
|
# 服务名称
|
||||||
name: mh_service
|
name: pro-go-admin
|
||||||
# 端口号
|
# 端口号
|
||||||
port: 8002 # 服务端口号
|
port: 8002 # 服务端口号
|
||||||
readtimeout: 1
|
readtimeout: 1
|
||||||
|
@ -30,7 +29,6 @@ settings:
|
||||||
enabledjob: false
|
enabledjob: false
|
||||||
jwt:
|
jwt:
|
||||||
# token 密钥,生产环境时及的修改
|
# token 密钥,生产环境时及的修改
|
||||||
# secret: go-admin
|
|
||||||
secret: adminqYrhCcQRvVNAaEo4h4osoW
|
secret: adminqYrhCcQRvVNAaEo4h4osoW
|
||||||
# token 过期时间 单位:秒
|
# token 过期时间 单位:秒
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
@ -38,20 +36,12 @@ settings:
|
||||||
# 数据库类型 mysql,sqlite3, postgres
|
# 数据库类型 mysql,sqlite3, postgres
|
||||||
driver: mysql
|
driver: mysql
|
||||||
# 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
# 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
||||||
# source: root:myTest@921@tcp(127.0.0.1:3306)/mh_dev?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
|
||||||
# source: mh_dev:d9qy46ONI0ZTF9eH@tcp(112.33.14.191:3306)/mh_dev?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
|
||||||
# source: mh_pro:c5JBW3X6EEVQluYM@tcp(39.108.188.218:3306)/mh_pro?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
|
||||||
# source: mh_test:GPLzZ8rMmbJbKtMh@tcp(112.33.14.191:3306)/mh_test?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
|
||||||
source: mh_new_pro:YnzexdTfBHMSGZki@tcp(39.108.188.218:3306)/mh_new_pro?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
source: mh_new_pro:YnzexdTfBHMSGZki@tcp(39.108.188.218:3306)/mh_new_pro?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
|
||||||
|
|
||||||
gen:
|
gen:
|
||||||
# 代码生成读取的数据库名称
|
# 代码生成读取的数据库名称
|
||||||
dbname: dbname
|
dbname: dbname
|
||||||
# 代码生成是使用前端代码存放位置,需要指定到src文件夹,相对路径
|
# 代码生成是使用前端代码存放位置,需要指定到src文件夹,相对路径
|
||||||
frontpath: ../go-admin-ui/src
|
frontpath: ../go-admin-ui/src
|
||||||
|
|
||||||
export:
|
export:
|
||||||
path: /Users/max/Documents/
|
path: /www/server/images/export/
|
||||||
url: http://39.108.188.218:8000/img/export/
|
url: https://admin.deovo.com/load/export/
|
||||||
# path: /www/server/images/export/
|
|
||||||
# url: https://dev.admin.deovo.com/load/export/
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user