From 6d929dda508352daef9a6f667d1ebb10d021f047 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 3 Feb 2022 22:32:21 +0800 Subject: [PATCH] =?UTF-8?q?[manager]add=20=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/main/resources/application.yml | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 manager/src/main/resources/application.yml diff --git a/manager/src/main/resources/application.yml b/manager/src/main/resources/application.yml new file mode 100644 index 0000000..f199836 --- /dev/null +++ b/manager/src/main/resources/application.yml @@ -0,0 +1,59 @@ +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 + username: admin + password: admin + url: jdbc:mysql://localhost:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false + platform: mysql + hikari: + max-lifetime: 120000 + jpa: + database: mysql + + mail: + host: smtp.exmail.qq.com + username: example@tancloud.cn + password: example + port: 465 + default-encoding: UTF-8 + properties: + mail: + smtp: + socketFactoryClass: javax.net.ssl.SSLSocketFactory + ssl: + enable: true + +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 \ No newline at end of file