Commit cf3f68f9 by yuwei

项目初始化

parent 9031f4e6
...@@ -19,10 +19,14 @@ spring: ...@@ -19,10 +19,14 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
# 设置使用IP
prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -17,13 +17,17 @@ spring: ...@@ -17,13 +17,17 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
# 设置使用IP
prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
# 暴露监控端点 # 暴露监控端点
management: management:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://61.164.216.254: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: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: localhost host: 61.164.216.254
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -28,7 +28,7 @@ spring: ...@@ -28,7 +28,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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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
...@@ -52,14 +52,14 @@ mybatis-plus: ...@@ -52,14 +52,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: localhost host: 61.164.216.254
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -27,7 +27,7 @@ spring: ...@@ -27,7 +27,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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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
...@@ -51,14 +51,14 @@ mybatis-plus: ...@@ -51,14 +51,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: localhost host: 61.164.216.254
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -28,7 +28,7 @@ spring: ...@@ -28,7 +28,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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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
...@@ -52,14 +52,14 @@ mybatis-plus: ...@@ -52,14 +52,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
properties.mail.smtp.ssl.enable: true properties.mail.smtp.ssl.enable: true
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -29,7 +29,7 @@ spring: ...@@ -29,7 +29,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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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
...@@ -53,14 +53,14 @@ mybatis-plus: ...@@ -53,14 +53,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -17,19 +17,12 @@ spring: ...@@ -17,19 +17,12 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: root
password: 1234@abcd password: 1234@abcd
url: jdbc:mysql://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://61.164.216.254:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# quartz oracle数据库
# quartz:
# driver-class-name: oracle.jdbc.OracleDriver
# username: data_cloud_quartz
# password: data_cloud_quartz
# url: jdbc:oracle:thin:@192.168.174.130:1521:orcl
# quartz mysql数据库
quartz: quartz:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: root
password: 1234@abcd password: 1234@abcd
url: jdbc:mysql://localhost:3306/data_cloud_quartz?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://61.164.216.254:3306/data_cloud_quartz?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
quartz: quartz:
job-store-type: jdbc job-store-type: jdbc
jdbc: jdbc:
...@@ -73,14 +66,14 @@ mybatis-plus: ...@@ -73,14 +66,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
spring: spring:
redis: redis:
database: 1 database: 1
host: localhost host: 61.164.216.254
port: 6379 port: 6379
password: 1234@abcd # 密码(默认为空) password: 1234@abcd # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒) timeout: 6000ms # 连接超时时长(毫秒)
...@@ -13,7 +13,7 @@ spring: ...@@ -13,7 +13,7 @@ spring:
max-idle: 10 # 连接池中的最大空闲连接 max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接 min-idle: 5 # 连接池中的最小空闲连接
rabbitmq: rabbitmq:
host: localhost host: 61.164.216.254
port: 5672 port: 5672
username: admin username: admin
password: 1234@abcd password: 1234@abcd
...@@ -27,22 +27,15 @@ spring: ...@@ -27,22 +27,15 @@ 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://localhost:3306/data_cloud?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:p6spy:mysql://61.164.216.254: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
# flowable oracle数据库
# flowable:
# driver-class-name: oracle.jdbc.OracleDriver
# username: data_cloud_flowable
# password: data_cloud_flowable
# url: jdbc:oracle:thin:@192.168.174.130:1521:orcl
# flowable mysql数据库
flowable: flowable:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: root username: root
password: 1234@abcd password: 1234@abcd
# 如果不加这个参数,建表会失败:nullCatalogMeansCurrent=true # 如果不加这个参数,建表会失败:nullCatalogMeansCurrent=true
url: jdbc:mysql://localhost:3306/data_cloud_flowable?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true url: jdbc:mysql://61.164.216.254:3306/data_cloud_flowable?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
flowable: flowable:
# 关闭定时任务JOB # 关闭定时任务JOB
...@@ -70,14 +63,14 @@ mybatis-plus: ...@@ -70,14 +63,14 @@ mybatis-plus:
security: security:
oauth2: oauth2:
client: client:
access-token-uri: http://localhost:8612/auth/oauth/token access-token-uri: http://61.164.216.254:8612/auth/oauth/token
user-authorization-uri: http://localhost:8612/auth/oauth/authorize user-authorization-uri: http://61.164.216.254: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://localhost:8612/auth/oauth/check_token token-info-uri: http://61.164.216.254:8612/auth/oauth/check_token
# Swagger界面内容配置 # Swagger界面内容配置
swagger: swagger:
......
...@@ -7,13 +7,15 @@ spring: ...@@ -7,13 +7,15 @@ spring:
eureka: eureka:
instance: instance:
hostname: localhost
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
lease-expiration-duration-in-seconds: 60 lease-expiration-duration-in-seconds: 60
# 设置使用IP
prefer-ip-address: true prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
client: client:
registerWithEureka: false register-with-eureka: false
fetchRegistry: false fetch-registry: false
instance-info-replication-interval-seconds: 30 instance-info-replication-interval-seconds: 30
service-url: service-url:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ defaultZone: http://${eureka.instance.ip-address}:${server.port}/eureka/
\ No newline at end of file
...@@ -19,10 +19,14 @@ spring: ...@@ -19,10 +19,14 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
# 设置使用IP
prefer-ip-address: true
# 设置外网IP号
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -21,7 +21,7 @@ public class Generate { ...@@ -21,7 +21,7 @@ public class Generate {
//// Thread.sleep(new Random().nextInt(1000 - 500 + 1) + 500); //// Thread.sleep(new Random().nextInt(1000 - 500 + 1) + 500);
//// System.out.println(generator.nextId(null)); //// System.out.println(generator.nextId(null));
//// } //// }
// generateByTables("F://code", "workflow", "cn.datax.service", "flow_", new String[]{"flow_category"}); // generateByTables("F://code", "visual", "cn.datax.service.data", "visual_", new String[]{"visual_board_chart"});
// } // }
/** /**
...@@ -31,7 +31,7 @@ public class Generate { ...@@ -31,7 +31,7 @@ public class Generate {
* @param parentName 包名 * @param parentName 包名
* @param tableNames 表名 * @param tableNames 表名
*/ */
private static void generateByTables(String projectPath,String moduleName, String parentName, String tablePrefix, String[] tableNames) { private static void generateByTables(String projectPath, String moduleName, String parentName, String tablePrefix, String[] tableNames) {
//配置数据源 //配置数据源
DataSourceConfig dataSourceConfig = getDataSourceConfig(); DataSourceConfig dataSourceConfig = getDataSourceConfig();
//全局变量配置 //全局变量配置
......
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
...@@ -20,10 +20,12 @@ spring: ...@@ -20,10 +20,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -20,10 +20,12 @@ spring: ...@@ -20,10 +20,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -19,10 +19,12 @@ spring: ...@@ -19,10 +19,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -9,10 +9,12 @@ spring: ...@@ -9,10 +9,12 @@ spring:
eureka: eureka:
instance: instance:
lease-renewal-interval-in-seconds: 20 lease-renewal-interval-in-seconds: 20
prefer-ip-address: true
ip-address: 61.164.216.254
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://localhost:8610/eureka defaultZone: http://61.164.216.254:8610/eureka
\ No newline at end of file \ No newline at end of file
...@@ -32,6 +32,7 @@ module.exports = { ...@@ -32,6 +32,7 @@ module.exports = {
devServer: { devServer: {
port: port, port: port,
open: false, open: false,
disableHostCheck: true,
overlay: { overlay: {
warnings: false, warnings: false,
errors: true errors: true
...@@ -39,7 +40,7 @@ module.exports = { ...@@ -39,7 +40,7 @@ module.exports = {
proxy: { proxy: {
// change xxx-api/login => /login // change xxx-api/login => /login
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8612/`, target: `http://61.164.216.254:8612/`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
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