Commit 36adcc9e by 张宸

更改服务器配置

parent c5e1f067
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11092 port: 11092
servlet: servlet:
...@@ -95,10 +95,10 @@ spring: ...@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -106,7 +106,7 @@ spring: ...@@ -106,7 +106,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -128,7 +128,7 @@ spring: ...@@ -128,7 +128,7 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 10002 port: 10002
servlet: servlet:
...@@ -70,10 +70,10 @@ spring: ...@@ -70,10 +70,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -81,7 +81,7 @@ spring: ...@@ -81,7 +81,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
exprie: 600 exprie: 600
prohibition: 600 prohibition: 600
datasource: datasource:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
#用来搜集数据库的所有表 #用来搜集数据库的所有表
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 10001 port: 10001
tomcat: tomcat:
...@@ -29,7 +29,7 @@ spring: ...@@ -29,7 +29,7 @@ spring:
max-file-size: 100MB max-file-size: 100MB
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://172.18.101.171:3306/school_center?useSSL=false url: jdbc:mysql://localhost:3306/school_center?useSSL=false
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
zuul: zuul:
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11093 port: 11093
servlet: servlet:
...@@ -97,10 +97,10 @@ spring: ...@@ -97,10 +97,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -108,7 +108,7 @@ spring: ...@@ -108,7 +108,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -130,7 +130,7 @@ spring: ...@@ -130,7 +130,7 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11094 port: 11094
servlet: servlet:
...@@ -95,10 +95,10 @@ spring: ...@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -106,7 +106,7 @@ spring: ...@@ -106,7 +106,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -128,7 +128,7 @@ spring: ...@@ -128,7 +128,7 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11095 port: 11095
servlet: servlet:
...@@ -95,10 +95,10 @@ spring: ...@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -106,7 +106,7 @@ spring: ...@@ -106,7 +106,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -128,7 +128,7 @@ spring: ...@@ -128,7 +128,7 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11091 port: 11091
servlet: servlet:
...@@ -95,10 +95,10 @@ spring: ...@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -106,7 +106,7 @@ spring: ...@@ -106,7 +106,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -128,7 +128,7 @@ spring: ...@@ -128,7 +128,7 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
......
...@@ -10,7 +10,7 @@ eureka: ...@@ -10,7 +10,7 @@ eureka:
client: client:
registry-fetch-interval-seconds: 5 registry-fetch-interval-seconds: 5
serviceUrl: serviceUrl:
defaultZone: http://eureka:20000/eureka/ defaultZone: http://localhost:20000/eureka/
server: server:
port: 11191 port: 11191
servlet: servlet:
...@@ -96,10 +96,10 @@ spring: ...@@ -96,10 +96,10 @@ spring:
# republish failures to the DLQ with diagnostic headers # republish failures to the DLQ with diagnostic headers
republish-to-dlq: true republish-to-dlq: true
rabbitmq: rabbitmq:
host: 172.18.101.171 host: localhost
port: 5672 port: 5672
username: guest username: root
password: guest password: root
redis: redis:
clusterWhether: false clusterWhether: false
cluster: cluster:
...@@ -107,7 +107,7 @@ spring: ...@@ -107,7 +107,7 @@ spring:
nodes: nodes:
- ${spring.redis.host}:${spring.redis.port} - ${spring.redis.host}:${spring.redis.port}
database: 0 database: 0
host: 172.18.101.171 host: localhost
port: 6379 port: 6379
password: password:
lettuce: lettuce:
...@@ -121,7 +121,7 @@ spring: ...@@ -121,7 +121,7 @@ spring:
exprie: 600 exprie: 600
prohibition: 600 prohibition: 600
datasource: datasource:
url: jdbc:mysql://172.18.101.171:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true
username: root username: root
password: AMrGBg6ZSsRrDLs6 password: AMrGBg6ZSsRrDLs6
filters: wall,mergeStat filters: wall,mergeStat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment