2023-07-14 10:16:58 +08:00
|
|
|
# dev-开发环境 test-测试环境 prod-生产环境
|
|
|
|
env: dev
|
|
|
|
# 服务配置
|
|
|
|
server:
|
|
|
|
# 服务端口
|
2023-07-31 10:51:44 +08:00
|
|
|
port: 9091
|
2023-07-26 17:02:53 +08:00
|
|
|
# 动力学端口配置
|
|
|
|
dynamics:
|
2023-08-08 16:46:19 +08:00
|
|
|
ip: 192.168.3.222
|
2023-07-26 17:02:53 +08:00
|
|
|
udpLocalPort: 4000
|
2023-07-27 17:12:38 +08:00
|
|
|
udpRemotePort: 3000
|
2023-08-02 15:47:48 +08:00
|
|
|
httpPort: 7800
|
2023-07-26 17:02:53 +08:00
|
|
|
|
2023-07-14 10:16:58 +08:00
|
|
|
# 数据源
|
|
|
|
datasource:
|
|
|
|
# 数据库访问url
|
|
|
|
dsn: root:joylink0503@tcp(192.168.3.233:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=Local
|
|
|
|
logging:
|
|
|
|
# 日志级别
|
|
|
|
level: debug
|
|
|
|
# 格式化
|
|
|
|
# format: json
|
|
|
|
# 日志文件路径
|
|
|
|
path: /logs/xiannccda
|
|
|
|
# 日志文件名
|
|
|
|
fileName: test.log
|
|
|
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
|
|
|
fileMaxSize: 2
|
|
|
|
# 日志文件最大备份数量
|
|
|
|
fileMaxBackups: 100
|
|
|
|
# 日志文件最大保留时间,单位 天
|
|
|
|
maxAge: 10
|
|
|
|
# 是否压缩日志
|
|
|
|
compress: false
|
|
|
|
# 控制台是否输出
|
|
|
|
stdout: true
|
2023-07-25 10:38:49 +08:00
|
|
|
messaging:
|
|
|
|
centrifugo:
|
|
|
|
tokenSecret: aaa
|
|
|
|
apiKey: bbb
|
|
|
|
apiEndpoint: /api
|
2023-07-26 17:51:32 +08:00
|
|
|
address: 192.168.3.233:10000
|