You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.3 KiB
35 lines
1.3 KiB
12 months ago
|
spring:
|
||
|
# Nacos config
|
||
|
cloud:
|
||
|
nacos:
|
||
|
config:
|
||
|
# Nacos config 地址
|
||
|
server-addr: ${nacos.address}
|
||
|
# Nacos config 命名空间,对应配置中的名称(sims_order_namespace)
|
||
|
namespace: ${nacos.namespace}
|
||
|
# Nacos config 分组
|
||
|
group: itax-admin
|
||
|
# Nacos config 登录用户名
|
||
|
username: ${nacos.username}
|
||
|
# Nacos config 登录密码
|
||
|
password: ${nacos.password}
|
||
|
# Nacos config 配置文件前缀
|
||
|
prefix: application
|
||
|
# Nacos config 配置文件后缀,拼接完URL需要对应NacosServer中的dataId对应配置,${prefix}-${spring.profiles.active}.${file-extension}
|
||
|
file-extension: yaml
|
||
|
extension-configs:
|
||
|
#Nacos config 配置 mysql数据库,数据库只能使用一个,要么mysql,要么Oracle,要么weblogic方式
|
||
|
- data-id: itax-admin-${spring.profiles.active}.yaml
|
||
|
group: itax-admin
|
||
|
refresh: true
|
||
|
- data-id: common-middleware-${spring.profiles.active}.yaml
|
||
|
refresh: true
|
||
|
# Nacos discovery 配置
|
||
|
discovery:
|
||
|
# Nacos discovery 服务地址
|
||
|
server-addr: ${nacos.address}
|
||
|
username: ${nacos.username}
|
||
|
# Nacos config 登录密码
|
||
|
password: ${nacos.password}
|
||
|
enabled: off
|