29 lines
880 B
YAML
29 lines
880 B
YAML
server:
|
|
port: ${WAREHOUSE_PORT:9205}
|
|
spring:
|
|
profiles:
|
|
active: ${SPRING_PROFILES_ACTIVE:test}
|
|
application:
|
|
name: warehouse-service
|
|
config:
|
|
import:
|
|
- nacos:baiyue-common.yml?group=${NACOS_GROUP:BAIYUE}&refreshEnabled=true
|
|
- nacos:${spring.application.name}.yml?group=${NACOS_GROUP:BAIYUE}&refreshEnabled=true
|
|
cloud:
|
|
nacos:
|
|
server-addr: ${NACOS_SERVER_ADDR}
|
|
username: ${NACOS_USERNAME}
|
|
password: ${NACOS_PASSWORD}
|
|
discovery:
|
|
enabled: ${NACOS_DISCOVERY_ENABLED:true}
|
|
register-enabled: ${NACOS_REGISTER_ENABLED:true}
|
|
group: ${NACOS_GROUP:BAIYUE}
|
|
namespace: ${NACOS_NAMESPACE}
|
|
config:
|
|
namespace: ${NACOS_NAMESPACE}
|
|
encode: UTF-8
|
|
baiyue:
|
|
security:
|
|
internal-service-token: ${INTERNAL_SERVICE_TOKEN}
|
|
management.endpoints.web.exposure.include: health,info,prometheus
|