Commit db4a9fe1 by yuwei

项目初始化

parent cf3f68f9
...@@ -20,14 +20,14 @@ eureka: ...@@ -20,14 +20,14 @@ eureka:
# 设置使用IP # 设置使用IP
prefer-ip-address: true prefer-ip-address: true
# 设置外网IP号 # 设置外网IP号
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: true register-with-eureka: true
fetch-registry: true fetch-registry: true
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3 registry-fetch-interval-seconds: 3
service-url: service-url:
defaultZone: http://61.164.216.254:8610/eureka defaultZone: http://localhost:8610/eureka
# 暴露监控端点 # 暴露监控端点
management: management:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,6 +18,6 @@ spring: ...@@ -18,6 +18,6 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: 61.164.216.254 host: localhost
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
datasource: datasource:
mysql: mysql:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: 1234@abcd password: 1234@abcd
...@@ -42,14 +42,14 @@ mybatis-plus: ...@@ -42,14 +42,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax client-id: datax
client-secret: 123456 client-secret: 123456
scope: all scope: all
resource: resource:
loadBalanced: true loadBalanced: true
token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token token-info-uri: http://localhost:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -12,7 +12,7 @@ eureka: ...@@ -12,7 +12,7 @@ eureka:
# 设置使用IP # 设置使用IP
prefer-ip-address: true prefer-ip-address: true
# 设置外网IP号 # 设置外网IP号
ip-address: 61.164.216.254 ip-address: localhost
client: client:
register-with-eureka: false register-with-eureka: false
fetch-registry: false fetch-registry: false
......
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