server:
port: 4000
spring:
application:
name: @artifactId@
servlet:
multipart:
max-file-size: 5MB
cloud:
nacos:
discovery:
#指定注册ip
ip: ${pig-upms-biz.ip}
port: ${pig-upms-biz.port}
server-addr: ${NACOS-HOST:pg-register}:${NACOS-PORT:8848}
config:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
file-extension: yml
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
profiles:
active: @profiles.active@