|
|
@@ -0,0 +1,31 @@
|
|
|
+# ============================================================
|
|
|
+# 本机部署兜底配置(Nacos 不可用时使用;Nacos 可用时同名键以 Nacos 为准)
|
|
|
+# 平台库:energy_hd @ 106.120.102.238:16306
|
|
|
+# ============================================================
|
|
|
+spring.datasource.type = com.alibaba.druid.pool.DruidDataSource
|
|
|
+spring.datasource.druid.driver-class-name = com.mysql.cj.jdbc.Driver
|
|
|
+spring.datasource.druid.url = jdbc:mysql://106.120.102.238:16306/energy_hd?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false&allowPublicKeyRetrieval=true
|
|
|
+spring.datasource.druid.username = admin
|
|
|
+spring.datasource.druid.password = admin123456
|
|
|
+
|
|
|
+spring.redis.host = 106.120.102.238
|
|
|
+spring.redis.port = 16379
|
|
|
+spring.redis.password = 123456
|
|
|
+spring.redis.database = 1
|
|
|
+
|
|
|
+minio.endpoint = http://127.0.0.1:9000
|
|
|
+minio.accessKey = minioadmin
|
|
|
+minio.secretKey = minioadmin
|
|
|
+minio.bucketName = bucket-zhzn
|
|
|
+minio.bucketPath = http://127.0.0.1:9000
|
|
|
+
|
|
|
+xxl.job.enabled = false
|
|
|
+xxl.job.admin.addresses =
|
|
|
+xxl.job.admin.accessToken =
|
|
|
+xxl.job.executor.appname = energy-manage-healthcheck-local
|
|
|
+xxl.job.executor.address =
|
|
|
+xxl.job.executor.ip =
|
|
|
+xxl.job.executor.port = 9997
|
|
|
+xxl.job.executor.logpath = ./logs/xxl
|
|
|
+xxl.job.executor.logretentiondays = 7
|
|
|
+analysis.url = http://127.0.0.1:8080/sAlgorithm/demo/dataAnalysis/analysis
|