2022-02-03 12:23:16 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 1157
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: ${HOSTNAME:@hertzbeat@}${PID}
|
|
|
|
|
|
profiles:
|
|
|
|
|
|
active: prod
|
|
|
|
|
|
mvc:
|
|
|
|
|
|
static-path-pattern: /console/**
|
|
|
|
|
|
resources:
|
|
|
|
|
|
static-locations:
|
|
|
|
|
|
- classpath:/dist/
|
|
|
|
|
|
- classpath:../dist/
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
default-property-inclusion: NON_EMPTY
|
|
|
|
|
|
|
|
|
|
|
|
sureness:
|
|
|
|
|
|
auths:
|
|
|
|
|
|
- digest
|
|
|
|
|
|
- basic
|
|
|
|
|
|
- jwt
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
spring:
|
|
|
|
|
|
config:
|
|
|
|
|
|
activate:
|
|
|
|
|
|
on-profile: prod
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2022-03-20 07:30:26 +08:00
|
|
|
|
username: root
|
2022-03-20 13:27:13 +08:00
|
|
|
|
password: 123456
|
2022-02-03 12:23:16 +08:00
|
|
|
|
url: jdbc:mysql://localhost:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
|
|
|
platform: mysql
|
|
|
|
|
|
hikari:
|
|
|
|
|
|
max-lifetime: 120000
|
|
|
|
|
|
jpa:
|
|
|
|
|
|
database: mysql
|
|
|
|
|
|
|
|
|
|
|
|
mail:
|
2022-02-27 08:49:57 +08:00
|
|
|
|
# 请注意邮件服务器地址:qq邮箱为 smtp.qq.com qq企业邮箱为 smtp.exmail.qq.com
|
2022-02-03 12:23:16 +08:00
|
|
|
|
host: smtp.exmail.qq.com
|
|
|
|
|
|
username: example@qq.com
|
2022-02-27 08:49:57 +08:00
|
|
|
|
# 请注意此非邮箱账户密码 此需填写邮箱授权码
|
2022-02-27 08:58:34 +08:00
|
|
|
|
password: example
|
2022-02-03 12:23:16 +08:00
|
|
|
|
port: 465
|
|
|
|
|
|
default-encoding: UTF-8
|
|
|
|
|
|
properties:
|
|
|
|
|
|
mail:
|
|
|
|
|
|
smtp:
|
|
|
|
|
|
socketFactoryClass: javax.net.ssl.SSLSocketFactory
|
|
|
|
|
|
ssl:
|
|
|
|
|
|
enable: true
|
|
|
|
|
|
|
2022-02-27 08:58:34 +08:00
|
|
|
|
thymeleaf:
|
|
|
|
|
|
prefix: classpath:/templates/
|
|
|
|
|
|
check-template-location: true
|
|
|
|
|
|
cache: true
|
|
|
|
|
|
suffix: .html
|
|
|
|
|
|
#encoding: UTF-8
|
|
|
|
|
|
#content-type: text/html
|
|
|
|
|
|
mode: LEGACYHTML5
|
|
|
|
|
|
|
2022-02-03 12:23:16 +08:00
|
|
|
|
warehouse:
|
|
|
|
|
|
store:
|
|
|
|
|
|
td-engine:
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
|
|
|
|
|
|
url: jdbc:TAOS-RS://localhost:6041/hertzbeat
|
|
|
|
|
|
username: root
|
|
|
|
|
|
password: taosdata
|