整理三环境中间件配置分层
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
# 三环境中间件配置分层整理
|
||||||
|
|
||||||
|
日期:2026-10-14
|
||||||
|
|
||||||
|
## 变更范围
|
||||||
|
|
||||||
|
- 整理 `dev`、`sit`、`prod` 三个环境的 `jayucloud-salon` 和 `jayucloud-artlist` Nacos 配置。
|
||||||
|
- 不修改初始化 SQL,不修改微信端本地配置,不直接操作线上 Nacos。
|
||||||
|
|
||||||
|
## 配置分层
|
||||||
|
|
||||||
|
- `infra.yaml` 只保留地址、端口、数据库编号、vhost、对象存储 endpoint、bucket、region、开关和业务连接策略等非敏感参数。
|
||||||
|
- `secret.yaml` 统一保存应用实际绑定的 Redis、RabbitMQ、MySQL、MinIO、七牛 Kodo、阿里云 OSS 账号密码和访问密钥。
|
||||||
|
- `core.yaml` 保留对象存储 provider 顺序、备份策略和签名 URL 等业务策略,删除对象存储连接凭据及重复连接配置。
|
||||||
|
- 删除未发现应用绑定关系的 `security.database`、`security.redis`、`security.rabbitmq`、`security.nacos` 重复节点。Nacos 启动认证继续由 `bootstrap.yaml` 的 `NACOS_*` 环境变量或默认值负责,不依赖业务 `secret.yaml`。
|
||||||
|
|
||||||
|
## 凭据来源与兼容性
|
||||||
|
|
||||||
|
- 已有 `secret.yaml` 中的 Redis、RabbitMQ、数据库凭据优先保留;SIT Salon Redis 使用此前已修正的 secret 值。
|
||||||
|
- 对象存储凭据从当前生效配置迁入对应 `secret.yaml`,保持应用绑定路径不变:`minio.*`、`qiniu.kodo.*`、`aliyun.oss.*`。
|
||||||
|
- 数据库同时保留 `spring.datasource.*` 与 `database.business.*` 两条现有绑定路径,但两者使用同一组 secret 凭据,避免合并覆盖不一致。
|
||||||
|
|
||||||
|
## 验证与发布
|
||||||
|
|
||||||
|
1. 使用 SnakeYAML 解析全部 18 份 YAML。
|
||||||
|
2. 静态确认 `infra.yaml` 不含敏感字段,`core.yaml` 不含对象存储密钥,`secret.yaml` 含全部应用绑定的敏感路径。
|
||||||
|
3. 只提交并推送 `dev`,通过受保护流程由 `dev` 合并到 `sit`,验证 SIT 后再晋级 `prod`。
|
||||||
|
4. 发布后检查 Core/Gateway 健康接口、关键业务接口及 Redis、RabbitMQ、MySQL 认证日志。
|
||||||
|
|
||||||
|
## 回滚
|
||||||
|
|
||||||
|
发布前保留各环境 Nacos 配置快照和 Git 提交号。若启动或中间件连接异常,恢复上一提交对应配置并重启服务;不修改初始化 SQL。
|
||||||
@@ -107,32 +107,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.5.15:9000
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -2,14 +2,10 @@ spring:
|
|||||||
redis:
|
redis:
|
||||||
host: 192.168.5.15
|
host: 192.168.5.15
|
||||||
port: 6379
|
port: 6379
|
||||||
username: xiaowang
|
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: 192.168.5.15:5672
|
addresses: 192.168.5.15:5672
|
||||||
virtual-host: /jayucloud-artlist-dev
|
virtual-host: /jayucloud-artlist-dev
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -20,8 +16,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.5.15:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.5.15:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -34,14 +28,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.5.15:9000
|
endpoint: http://192.168.5.15:9000
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -52,5 +42,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,17 +1,29 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
redis:
|
redis:
|
||||||
|
username: xiaowang
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
@@ -112,32 +112,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.5.15:9000
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud-dev
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -2,13 +2,10 @@ spring:
|
|||||||
redis:
|
redis:
|
||||||
host: 192.168.5.15
|
host: 192.168.5.15
|
||||||
port: 6379
|
port: 6379
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: 192.168.5.15:5672
|
addresses: 192.168.5.15:5672
|
||||||
virtual-host: /jayucloud-salon-dev
|
virtual-host: /jayucloud-salon-dev
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -19,8 +16,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.5.15:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.5.15:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -33,14 +28,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.5.15:9000
|
endpoint: http://192.168.5.15:9000
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -51,5 +42,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud-dev
|
bucket-name: jayucloud-dev
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,17 +1,28 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
redis:
|
redis:
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
@@ -107,32 +107,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.10.105:9000
|
|
||||||
bucket-name: jayucloud
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -3,14 +3,10 @@ spring:
|
|||||||
sentinel:
|
sentinel:
|
||||||
master: mymaster
|
master: mymaster
|
||||||
nodes: 192.168.10.17:26379,192.168.10.18:26379,192.168.10.19:26379,192.168.20.13:26379,10.66.0.4:26379
|
nodes: 192.168.10.17:26379,192.168.10.18:26379,192.168.10.19:26379,192.168.20.13:26379,10.66.0.4:26379
|
||||||
username: xiaowang
|
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: mq-prod.internal:5672
|
addresses: mq-prod.internal:5672
|
||||||
virtual-host: Jayucloud-ArtList
|
virtual-host: Jayucloud-ArtList
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -21,8 +17,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.10.200:6033/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.10.200:6033/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -35,14 +29,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.10.105:9000
|
endpoint: http://192.168.10.105:9000
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -53,5 +43,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,17 +1,29 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
redis:
|
redis:
|
||||||
|
username: xiaowang
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
@@ -111,32 +111,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.10.105:9000
|
|
||||||
bucket-name: jayucloud
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -3,14 +3,10 @@ spring:
|
|||||||
sentinel:
|
sentinel:
|
||||||
master: mymaster
|
master: mymaster
|
||||||
nodes: 192.168.10.17:26379,192.168.10.18:26379,192.168.10.19:26379,192.168.20.13:26379,10.66.0.4:26379
|
nodes: 192.168.10.17:26379,192.168.10.18:26379,192.168.10.19:26379,192.168.20.13:26379,10.66.0.4:26379
|
||||||
username: xiaowang
|
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: mq-prod.internal:5672
|
addresses: mq-prod.internal:5672
|
||||||
virtual-host: Jayucloud-Salon
|
virtual-host: Jayucloud-Salon
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -21,8 +17,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.10.200:6033/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.10.200:6033/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -35,14 +29,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.10.105:9000
|
endpoint: http://192.168.10.105:9000
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -53,5 +43,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud
|
bucket-name: jayucloud
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,17 +1,29 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy
|
|
||||||
redis:
|
redis:
|
||||||
|
username: xiaowang
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
@@ -107,32 +107,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
backup-routing-key: jayucloud-artlist.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.5.15:9000
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -2,14 +2,10 @@ spring:
|
|||||||
redis:
|
redis:
|
||||||
host: 192.168.10.12
|
host: 192.168.10.12
|
||||||
port: 6379
|
port: 6379
|
||||||
username: xiaowang
|
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: 192.168.10.13:5672
|
addresses: 192.168.10.13:5672
|
||||||
virtual-host: /jayucloud-artlist-sit
|
virtual-host: /jayucloud-artlist-sit
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -20,8 +16,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.10.11:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.10.11:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy....
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -34,14 +28,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.10.14:9000
|
endpoint: http://192.168.10.14:9000
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -52,5 +42,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,17 +1,29 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy....
|
|
||||||
redis:
|
redis:
|
||||||
|
username: xiaowang
|
||||||
password: 122503wcy
|
password: 122503wcy
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy....
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
@@ -119,32 +119,3 @@ object-storage:
|
|||||||
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
backup-routing-key: jayucloud-salon.file.object-storage.backup
|
||||||
backup-retry-batch-limit: 500
|
backup-retry-batch-limit: 500
|
||||||
backup-retry-cron: "0 0 2 * * ?"
|
backup-retry-cron: "0 0 2 * * ?"
|
||||||
|
|
||||||
qiniu:
|
|
||||||
kodo:
|
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
domain: https://img.yunail.art
|
|
||||||
zone: z2
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
minio:
|
|
||||||
enabled: false
|
|
||||||
endpoint: http://192.168.5.15:9000
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
private-bucket: true
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|
||||||
aliyun:
|
|
||||||
oss:
|
|
||||||
enabled: false
|
|
||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
|
||||||
region: cn-chengdu
|
|
||||||
bucket-name: jayucloud-sit
|
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
signed-url-expire-minutes: 60
|
|
||||||
|
|||||||
@@ -2,14 +2,10 @@ spring:
|
|||||||
redis:
|
redis:
|
||||||
host: 192.168.10.12
|
host: 192.168.10.12
|
||||||
port: 6379
|
port: 6379
|
||||||
username: xiaowang
|
|
||||||
password: 122503wcy
|
|
||||||
database: 0
|
database: 0
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
addresses: 192.168.10.13:5672
|
addresses: 192.168.10.13:5672
|
||||||
virtual-host: /jayucloud-salon-sit
|
virtual-host: /jayucloud-salon-sit
|
||||||
username: rabbitmq
|
|
||||||
password: 122503wcy....
|
|
||||||
publisher-confirm-type: correlated
|
publisher-confirm-type: correlated
|
||||||
publisher-returns: true
|
publisher-returns: true
|
||||||
listener:
|
listener:
|
||||||
@@ -20,8 +16,6 @@ spring:
|
|||||||
database:
|
database:
|
||||||
business:
|
business:
|
||||||
jdbc-url: jdbc:mysql://192.168.10.11:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
jdbc-url: jdbc:mysql://192.168.10.11:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
|
||||||
password: 122503wcy....
|
|
||||||
|
|
||||||
object-storage:
|
object-storage:
|
||||||
primary-provider: MINIO
|
primary-provider: MINIO
|
||||||
@@ -34,14 +28,10 @@ minio:
|
|||||||
enabled: true
|
enabled: true
|
||||||
endpoint: http://192.168.10.14:9000
|
endpoint: http://192.168.10.14:9000
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key: minio_xiaowang
|
|
||||||
secret-key: 122503wcy
|
|
||||||
|
|
||||||
qiniu:
|
qiniu:
|
||||||
kodo:
|
kodo:
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
|
||||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
|
||||||
domain: https://img.yunail.art
|
domain: https://img.yunail.art
|
||||||
zone: z2
|
zone: z2
|
||||||
private-bucket: true
|
private-bucket: true
|
||||||
@@ -52,5 +42,3 @@ aliyun:
|
|||||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||||
region: cn-chengdu
|
region: cn-chengdu
|
||||||
bucket-name: jayucloud-sit
|
bucket-name: jayucloud-sit
|
||||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
|
||||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
|
||||||
|
|||||||
@@ -1,18 +1,29 @@
|
|||||||
security:
|
spring:
|
||||||
nacos:
|
|
||||||
username: jayucloud
|
|
||||||
password: 122503wcy....
|
|
||||||
database:
|
|
||||||
username: root
|
|
||||||
password: 122503wcy....
|
|
||||||
redis:
|
redis:
|
||||||
username: xiaowang
|
username: xiaowang
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
username: rabbitmq
|
username: rabbitmq
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
datasource:
|
||||||
username: root
|
username: root
|
||||||
password: 122503wcy....
|
password: 122503wcy....
|
||||||
|
|
||||||
|
database:
|
||||||
|
business:
|
||||||
|
username: root
|
||||||
|
password: 122503wcy....
|
||||||
|
|
||||||
|
minio:
|
||||||
|
access-key: minio_xiaowang
|
||||||
|
secret-key: 122503wcy
|
||||||
|
|
||||||
|
qiniu:
|
||||||
|
kodo:
|
||||||
|
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||||
|
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||||
|
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||||
|
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||||
|
|||||||
Reference in New Issue
Block a user