添加北京本地配置文件
This commit is contained in:
parent
05886cfb86
commit
6988501925
42
config/bj_local.yml
Normal file
42
config/bj_local.yml
Normal file
@ -0,0 +1,42 @@
|
||||
# dev-开发环境 test-测试环境 prod-生产环境
|
||||
env: prod
|
||||
# 服务配置
|
||||
server:
|
||||
# 服务端口
|
||||
port: 9091
|
||||
# 动力学端口配置
|
||||
dynamics:
|
||||
ip: 10.60.1.121
|
||||
udpLocalPort: 4000
|
||||
udpRemotePort: 3000
|
||||
httpPort: 7800
|
||||
|
||||
# 数据源
|
||||
datasource:
|
||||
# 数据库访问url
|
||||
dsn: root:Joylink@0503@tcp(10.60.1.101:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=Local
|
||||
logging:
|
||||
# 日志级别
|
||||
level: info
|
||||
# 格式化
|
||||
# format: json
|
||||
# 日志文件路径
|
||||
path: /logs/bjrtsts
|
||||
# 日志文件名
|
||||
fileName: bjrtsts.log
|
||||
# 单个日志文件大小,单位mb,超过会自动滚动
|
||||
fileMaxSize: 5
|
||||
# 日志文件最大备份数量
|
||||
fileMaxBackups: 100
|
||||
# 日志文件最大保留时间,单位 天
|
||||
maxAge: 30
|
||||
# 是否压缩日志
|
||||
compress: false
|
||||
# 控制台是否输出
|
||||
stdout: false
|
||||
messaging:
|
||||
centrifugo:
|
||||
tokenSecret: aaa
|
||||
apiKey: bbb
|
||||
apiEndpoint: /api
|
||||
address: 10.60.1.111:8001
|
Loading…
Reference in New Issue
Block a user