|
|
@@ -2,18 +2,32 @@ server.port=8085
|
|
|
api.host=http://127.0.0.1
|
|
|
api.wechatcallback=/weWork/callback
|
|
|
|
|
|
-spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
-spring.datasource.url=jdbc:mysql://172.18.71.27:3306/mochat?serverTimezone=GMT%2b8&useUnicode=true&characterEncoding=UTF-8
|
|
|
-spring.datasource.username=typer
|
|
|
-spring.datasource.password=jch9sh_shl
|
|
|
-spring.datasource.max-idle=10
|
|
|
-spring.datasource.max-wait=10000
|
|
|
-spring.datasource.min-idle=5
|
|
|
-spring.datasource.initial-size=5
|
|
|
+spring.datasource.druid.max-idle=10
|
|
|
+spring.datasource.druid.max-wait=10000
|
|
|
+spring.datasource.druid.min-idle=5
|
|
|
+spring.datasource.druid.initial-size=5
|
|
|
+spring.datasource.druid.strict=false
|
|
|
|
|
|
+spring.datasource.dynamic.primary=db
|
|
|
+
|
|
|
+#后台数据库
|
|
|
+spring.datasource.dynamic.datasource.db.driverClassName=com.mysql.cj.jdbc.Driver
|
|
|
+spring.datasource.dynamic.datasource.db.url=jdbc:mysql://172.18.71.27:3306/mochat?serverTimezone=GMT%2b8&useUnicode=true&characterEncoding=UTF-8
|
|
|
+spring.datasource.dynamic.datasource.db.username=typer
|
|
|
+spring.datasource.dynamic.datasource.db.password=jch9sh_shl
|
|
|
+
|
|
|
+#大数据数据库
|
|
|
+spring.datasource.dynamic.datasource.datadb.url=jdbc:postgresql://hgmc-cn-7mz27ayc6003-cn-shanghai.hologres.aliyuncs.com:80/galaxy
|
|
|
+spring.datasource.dynamic.datasource.datadb.username=LTAI5tEWU1j9H2poG4zWgfEP
|
|
|
+spring.datasource.dynamic.datasource.datadb.password=p9tVmeDeeEENKhfsBsSeYc0F0ggH5b
|
|
|
+spring.datasource.dynamic.datasource.datadb.driverClassName=org.postgresql.Driver
|
|
|
+
|
|
|
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
|
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
|
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
|
+
|
|
|
spring.redis.host=172.18.71.26
|
|
|
spring.redis.port=6379
|
|
|
spring.redis.password=Jch9shshl
|