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.
34 lines
1.3 KiB
34 lines
1.3 KiB
spring:
|
|
# Nacos config
|
|
cloud:
|
|
nacos:
|
|
config:
|
|
# Nacos config 地址
|
|
server-addr: 10.18.90.125:33000
|
|
# Nacos config 命名空间,对应配置中的名称(sims_order_namespace)
|
|
namespace: dxhy-nacos
|
|
# Nacos config 分组
|
|
group: itax-admin
|
|
# Nacos config 登录用户名
|
|
username: admin
|
|
# Nacos config 登录密码
|
|
password: Invoice.nacos.!1
|
|
# 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-1.itax.local:33000
|
|
username: admin
|
|
# Nacos config 登录密码
|
|
password: Invoice.nacos.!1
|
|
enabled: off |