Commit 36adcc9e by 张宸

更改服务器配置

parent c5e1f067
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11092
servlet:
......@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -106,7 +106,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -128,7 +128,7 @@ spring:
max-active: 30
datasource:
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
password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 10002
servlet:
......@@ -70,10 +70,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -81,7 +81,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -95,7 +95,7 @@ spring:
exprie: 600
prohibition: 600
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
password: AMrGBg6ZSsRrDLs6
#用来搜集数据库的所有表
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 10001
tomcat:
......@@ -29,7 +29,7 @@ spring:
max-file-size: 100MB
datasource:
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
password: AMrGBg6ZSsRrDLs6
zuul:
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11093
servlet:
......@@ -97,10 +97,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -108,7 +108,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -130,7 +130,7 @@ spring:
max-active: 30
datasource:
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
password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11094
servlet:
......@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -106,7 +106,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -128,7 +128,7 @@ spring:
max-active: 30
datasource:
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
password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11095
servlet:
......@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -106,7 +106,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -128,7 +128,7 @@ spring:
max-active: 30
datasource:
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
password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11091
servlet:
......@@ -95,10 +95,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -106,7 +106,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -128,7 +128,7 @@ spring:
max-active: 30
datasource:
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
password: AMrGBg6ZSsRrDLs6
driver-class-name: com.mysql.cj.jdbc.Driver
......
......@@ -10,7 +10,7 @@ eureka:
client:
registry-fetch-interval-seconds: 5
serviceUrl:
defaultZone: http://eureka:20000/eureka/
defaultZone: http://localhost:20000/eureka/
server:
port: 11191
servlet:
......@@ -96,10 +96,10 @@ spring:
# republish failures to the DLQ with diagnostic headers
republish-to-dlq: true
rabbitmq:
host: 172.18.101.171
host: localhost
port: 5672
username: guest
password: guest
username: root
password: root
redis:
clusterWhether: false
cluster:
......@@ -107,7 +107,7 @@ spring:
nodes:
- ${spring.redis.host}:${spring.redis.port}
database: 0
host: 172.18.101.171
host: localhost
port: 6379
password:
lettuce:
......@@ -121,7 +121,7 @@ spring:
exprie: 600
prohibition: 600
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
password: AMrGBg6ZSsRrDLs6
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