Files
JayuCloud/scripts/开发店务Nacos默认参数说明_20260826.md
T

21 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 开发店务 Nacos 默认参数说明
> 历史说明:后端环境变量覆盖入口已于 2026-10-10 移除。当前配置方式见 `docs/scripts/后端配置统一由Nacos明文管理_20261010.md`。
更新时间:2026-08-26
适用范围:`nacos/namespaces/dev/jayucloud-salon/DEFAULT_GROUP/`。
Dev 的 Nacos、Redis、RabbitMQ、MinIO、七牛云和阿里云 OSS 参数已提供默认值,运行环境中的同名变量可以覆盖默认值。Core 的 bootstrap 配置同样默认连接 Dev Nacos,避免首次拉取 Nacos 配置时仍指向生产集群。
Dev 店务端端口固定为:`jc-salon-core` 使用 `8081`,`jc-salon-gateway` 使用 `80`。端口由各自 Nacos Data ID 声明,修改后必须发布 Dev 配置并重启对应服务才会生效。
业务数据库的 `BUSINESS_JDBC_URL`、`BUSINESS_DB_USERNAME` 和 `BUSINESS_DB_PASSWORD` 已提供 Dev Salon 默认值,运行环境可以按需覆盖。
本次调整的版本化文件:
- `JC-Salon-Core/src/main/resources/bootstrap.yaml`
- `nacos/namespaces/dev/jayucloud-salon/DEFAULT_GROUP/core.yaml`
- `nacos/namespaces/dev/jayucloud-salon/DEFAULT_GROUP/infra.yaml`
- `nacos/namespaces/dev/jayucloud-salon/DEFAULT_GROUP/secret.yaml`