| | |
| | | |
| | | # 数据库配置 |
| | | datasource: |
| | | url: jdbc:postgresql://localhost:5432/postgres |
| | | url: jdbc:postgresql://192.168.0.24:5432/postgres |
| | | username: postgres |
| | | password: 123456 |
| | | driver-class-name: org.postgresql.Driver |
| | |
| | | |
| | | # InfluxDB配置 |
| | | influxdb: |
| | | host: "http://localhost:8086" |
| | | host: "http://192.168.0.24:8086" |
| | | #修改为自己的时序库访问org |
| | | org: "lanbao" |
| | | #修改为自己的时序库bucket |
| | | bucket: "nygl" |
| | | #修改为自己的时序库访问token |
| | | token: "AminQagYp5rjb09mFPYvriK0T0vlF-zmwboqtUzdcq3nkXNuhnEpMuG_Ht5vtfWC4xBIVOThvoxy5reTer9XcQ==" |
| | | token: "i8WwVZz3RvkEVF3qGaY8uIDXTFEe2PzjgrKebDzcxlYGKnR-kOK5Hf1S5G4z3p-lc9UO7MQS4qKGL4lIeHSw1A==" |
| | | measurement: data |
| | | enable: true |
| | | |
| | | # 服务器配置 |
| | | server: |
| | | port: 8082 |
| | | port: 8090 |
| | | servlet: |
| | | context-path: / |
| | | |