Commit 07411cf1b69e8eaee57608f8d5b0f078b51a70ee

Authored by 云中非
1 parent a31053b1

feat: 配置参数化

@@ -1151,7 +1151,7 @@ file: @@ -1151,7 +1151,7 @@ file:
1151 randomFileName: ${file.storage.randomFileName} 1151 randomFileName: ${file.storage.randomFileName}
1152 account: 1152 account:
1153 info: 1153 info:
1154 - emailSuffix: yunteng.com 1154 + emailSuffix: ${ACCOUNT_EMAIL_SUFFIX:yunteng.com}
1155 # emailSuffix: thingskit.com 1155 # emailSuffix: thingskit.com
1156 defaultPassword: 123456 1156 defaultPassword: 123456
1157 third: 1157 third:
@@ -1159,8 +1159,8 @@ third: @@ -1159,8 +1159,8 @@ third:
1159 url: https://api.weixin.qq.com 1159 url: https://api.weixin.qq.com
1160 # appId: wxd5d018355f38262b 1160 # appId: wxd5d018355f38262b
1161 # appSecret: a07fab1d2d6c6def1fa4796535f8af30 1161 # appSecret: a07fab1d2d6c6def1fa4796535f8af30
1162 - appId: wx99c411dc3c5571ef  
1163 - appSecret: 606153abd59308b20a6e41fb6c852ad2 1162 + appId: ${WECHAT_APP_ID:wx99c411dc3c5571ef}
  1163 + appSecret: ${WECHAT_APP_SECRET:606153abd59308b20a6e41fb6c852ad2}
1164 logging: 1164 logging:
1165 level: 1165 level:
1166 org.thingsboard.server.dao.yunteng.mapper: info 1166 org.thingsboard.server.dao.yunteng.mapper: info
@@ -1169,4 +1169,4 @@ logging: @@ -1169,4 +1169,4 @@ logging:
1169 # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 1169 # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
1170 frp: 1170 frp:
1171 server: 1171 server:
1172 - address: http://127.0.0.1 1172 + address: ${FRP_SERVER_ADDRESS:http://127.0.0.1}