31 lines
658 B
YAML
31 lines
658 B
YAML
server:
|
|
port: 8821
|
|
|
|
spring:
|
|
application:
|
|
name: service-data-console
|
|
profiles:
|
|
active: dev
|
|
cloud:
|
|
config:
|
|
label: master
|
|
name: ${spring.application.name}
|
|
profile: ${spring.profiles.active}
|
|
discovery:
|
|
enabled: true
|
|
service-id: config
|
|
|
|
# 注册中心配置
|
|
eureka:
|
|
instance:
|
|
lease-renewal-interval-in-seconds: 20
|
|
prefer-ip-address: true
|
|
ip-address: 192.168.1.169
|
|
client:
|
|
register-with-eureka: true
|
|
fetch-registry: true
|
|
instance-info-replication-interval-seconds: 30
|
|
registry-fetch-interval-seconds: 3
|
|
service-url:
|
|
defaultZone: http://192.168.1.169:8610/eureka
|