Commit 5e4be706 by 陈浩建

本地配置文件明文

parent 00b8edfb
...@@ -94,7 +94,7 @@ spring: ...@@ -94,7 +94,7 @@ 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: guest
password: guest password: guest
......
...@@ -97,7 +97,7 @@ spring: ...@@ -97,7 +97,7 @@ 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: 123.56.82.141 host: localhost
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -131,9 +131,9 @@ spring: ...@@ -131,9 +131,9 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true 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
username: root username: yzzx
password: root password: yzzx123!@#
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
devtools: devtools:
restart: restart:
......
...@@ -128,9 +128,9 @@ spring: ...@@ -128,9 +128,9 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true 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
username: root username: yzzx
password: root password: yzzx123!@#
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
devtools: devtools:
restart: restart:
......
...@@ -94,7 +94,7 @@ spring: ...@@ -94,7 +94,7 @@ 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: ENC(Jm+qlQikhtTS1xupsT/bLQ==) username: ENC(Jm+qlQikhtTS1xupsT/bLQ==)
password: ENC(Jm+qlQikhtTS1xupsT/bLQ==) password: ENC(Jm+qlQikhtTS1xupsT/bLQ==)
...@@ -128,9 +128,9 @@ spring: ...@@ -128,9 +128,9 @@ spring:
max-active: 30 max-active: 30
datasource: datasource:
master: master:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true 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
username: root username: ENC(CT4X/xOJCLwK1IJtuZZN/A==)
password: root password: ENC(IQRisTAAktGkj1rrrEvpXpImI0FyRfda)
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
devtools: devtools:
restart: restart:
......
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ 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: 123.56.82.141 host: localhost
port: 5672 port: 5672
username: guest username: guest
password: guest password: guest
...@@ -120,9 +120,9 @@ spring: ...@@ -120,9 +120,9 @@ spring:
exprie: 600 exprie: 600
prohibition: 600 prohibition: 600
datasource: datasource:
url: jdbc:mysql://localhost:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true 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
username: root username: yzzx
password: root password: yzzx123!@#
dynamic: dynamic:
primary: master primary: master
p6spy: true p6spy: true
...@@ -159,6 +159,8 @@ ribbon: ...@@ -159,6 +159,8 @@ ribbon:
MaxAutoRetriesNextServer: 0 MaxAutoRetriesNextServer: 0
ReadTimeout: 4400 ReadTimeout: 4400
ConnectTimeout: 2000 ConnectTimeout: 2000
eureka:
enabled: true
hystrix: hystrix:
threadpool: threadpool:
default: default:
...@@ -187,4 +189,5 @@ management: ...@@ -187,4 +189,5 @@ management:
endpoints: endpoints:
web: web:
exposure: exposure:
include: bus-refresh include: bus-refresh
\ No newline at end of file
...@@ -120,9 +120,9 @@ spring: ...@@ -120,9 +120,9 @@ spring:
exprie: 600 exprie: 600
prohibition: 600 prohibition: 600
datasource: datasource:
url: jdbc:mysql://127.0.0.1:3306/school_center?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&allowPublicKeyRetrieval=true 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
username: root username: yzzx
password: root password: yzzx123!@#
filters: wall,mergeStat filters: wall,mergeStat
max-active: 20 max-active: 20
devtools: devtools:
...@@ -180,4 +180,4 @@ management: ...@@ -180,4 +180,4 @@ management:
endpoints: endpoints:
web: web:
exposure: exposure:
include: bus-refresh include: bus-refresh
\ No newline at end of file
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