feat: rename directory wfc-modules-user to wfc-user
This commit is contained in:
27
wfc-modules/wfc-user/src/main/resources/bootstrap.yml
Normal file
27
wfc-modules/wfc-user/src/main/resources/bootstrap.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Tomcat
|
||||
server:
|
||||
port: ${WFC_USER_PORT:9206}
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: wfc-user
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: '@profileName@'
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: wfc-nacos:${NACOS_SERVER_PORT}
|
||||
namespace: ${NACOS_NAME_SPACE}
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: wfc-nacos:${NACOS_SERVER_PORT}
|
||||
namespace: ${NACOS_NAME_SPACE}
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
Reference in New Issue
Block a user