|
@@ -0,0 +1,23 @@
|
|
|
+eureka:
|
|
|
+ instance:
|
|
|
+ hostname: smartschool-websocket-server
|
|
|
+ prefer-ip-address: false
|
|
|
+ client:
|
|
|
+ serviceUrl:
|
|
|
+ defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@smartschool-eureka-server:9500/eureka/
|
|
|
+spring:
|
|
|
+ redis:
|
|
|
+ host: 172.27.0.13
|
|
|
+ port: 6379
|
|
|
+ password: select111***
|
|
|
+ datasource:
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ url: jdbc:mysql://172.27.0.15:3306/smart_campus?characterEncoding=utf-8&useSSL=false&allowMultiQueries=true
|
|
|
+ username: root
|
|
|
+ password: select111***
|
|
|
+ hikari:
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 50
|
|
|
+ idle-timeout: 30000
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|