Commit db4a9fe1 by yuwei

项目初始化

parent cf3f68f9
......@@ -20,14 +20,14 @@ eureka:
# 设置使用IP
prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
ip-address: localhost
client:
register-with-eureka: true
fetch-registry: true
instance-info-replication-interval-seconds: 30
registry-fetch-interval-seconds: 3
service-url:
defaultZone: http://61.164.216.254:8610/eureka
defaultZone: http://localhost:8610/eureka
# 暴露监控端点
management:
......
......@@ -2,7 +2,7 @@
spring:
redis:
database: 1
host: 61.164.216.254
host: localhost
port: 6379
password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒)
......@@ -18,6 +18,6 @@ spring:
datasource:
mysql:
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
password: 1234@abcd
......@@ -2,7 +2,7 @@
spring:
redis:
database: 1
host: 61.164.216.254
host: localhost
port: 6379
password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒)
......@@ -18,7 +18,7 @@ spring:
datasource:
mysql:
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
password: 1234@abcd
......@@ -42,14 +42,14 @@ mybatis-plus:
security:
oauth2:
client:
access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://61.164.216.254:8612/auth/oauth/authorize
access-token-uri: http://localhost:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize
client-id: datax
client-secret: 123456
scope: all
resource:
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:
......
......@@ -12,7 +12,7 @@ eureka:
# 设置使用IP
prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
ip-address: localhost
client:
register-with-eureka: 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