1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
| # 应用配置
| spring:
| application:
| name: zhitan-engine
|
| # 数据库配置
| datasource:
| url: jdbc:postgresql://192.168.0.24:5432/postgres
| username: postgres
| password: 123456
| driver-class-name: org.postgresql.Driver
|
| # JPA配置
| jpa:
| database-platform: org.hibernate.dialect.PostgreSQLDialect
| hibernate:
| ddl-auto: update
| show-sql: false
| properties:
| hibernate:
| format_sql: true
|
| # InfluxDB配置
| influxdb:
| host: "http://192.168.0.24:8086"
| #修改为自己的时序库访问org
| org: "lanbao"
| #修改为自己的时序库bucket
| bucket: "nygl"
| #修改为自己的时序库访问token
| token: "i8WwVZz3RvkEVF3qGaY8uIDXTFEe2PzjgrKebDzcxlYGKnR-kOK5Hf1S5G4z3p-lc9UO7MQS4qKGL4lIeHSw1A=="
| measurement: data
| enable: true
|
| # 服务器配置
| server:
| port: 8090
| servlet:
| context-path: /
|
| # 日志配置
| logging:
| level:
| root: INFO
| com.zhitan.engine: INFO
| org.hibernate: WARN
| org.springframework: WARN
| file:
| name: logs/zhitan-engine.log
| max-size: 10MB
| max-history: 30
|
|