From 6988501925f78d4fd22d21c976c4c41ff77d1047 Mon Sep 17 00:00:00 2001 From: walker Date: Fri, 18 Aug 2023 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8C=97=E4=BA=AC=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/bj_local.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 config/bj_local.yml diff --git a/config/bj_local.yml b/config/bj_local.yml new file mode 100644 index 0000000..ccbb257 --- /dev/null +++ b/config/bj_local.yml @@ -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