mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
24 lines
412 B
YAML
24 lines
412 B
YAML
server:
|
|
port: 5003
|
|
|
|
spring:
|
|
application:
|
|
name: @artifactId@
|
|
#配置中心
|
|
cloud:
|
|
config:
|
|
fail-fast: true
|
|
name: ${spring.application.name}
|
|
profile: dev
|
|
discovery:
|
|
enabled: true
|
|
service-id: pigx-config
|
|
|
|
# 注册中心配置
|
|
eureka:
|
|
instance:
|
|
prefer-ip-address: true
|
|
client:
|
|
service-url:
|
|
defaultZone: http://pig:pig@pigx-eureka:8761/eureka/
|