mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
30 lines
462 B
YAML
30 lines
462 B
YAML
server:
|
|
port: 4001
|
|
|
|
spring:
|
|
application:
|
|
name: pigx-config
|
|
profiles:
|
|
active: native
|
|
# 配置中心
|
|
cloud:
|
|
config:
|
|
server:
|
|
native:
|
|
search-locations: classpath:/config/
|
|
|
|
# 注册中心配置
|
|
eureka:
|
|
instance:
|
|
prefer-ip-address: true
|
|
client:
|
|
service-url:
|
|
defaultZone: http://pig:pig@pigx-eureka:1025/eureka/
|
|
|
|
# 暴露监控端点
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: '*'
|