配置:统一后端参数由Nacos明文管理
This commit is contained in:
@@ -1,138 +1 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 5MB
|
||||
max-request-size: 10MB
|
||||
jackson:
|
||||
time-zone: Asia/Shanghai
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
logging:
|
||||
pattern:
|
||||
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|
||||
|
||||
server:
|
||||
servlet:
|
||||
encoding:
|
||||
charset: UTF-8
|
||||
force: true
|
||||
enabled: true
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
fingertip-designer:
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:FingertipDesigner}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
security:
|
||||
jwt:
|
||||
issuer: fingertip-designer
|
||||
access-token-expiration-seconds: 7200
|
||||
remember-me-access-token-expiration-seconds: 604800
|
||||
refresh-token-expiration-seconds: 604800
|
||||
clock-skew-seconds: 30
|
||||
signature:
|
||||
enabled: true
|
||||
window-seconds: 300
|
||||
nonce-retention-seconds: 600
|
||||
rate-limit:
|
||||
login:
|
||||
limit: 10
|
||||
window-seconds: 60
|
||||
send-code:
|
||||
limit: 5
|
||||
window-seconds: 60
|
||||
reset-password:
|
||||
limit: 5
|
||||
window-seconds: 600
|
||||
authenticated-write:
|
||||
limit: 80
|
||||
window-seconds: 60
|
||||
order-create:
|
||||
limit: 10
|
||||
window-seconds: 60
|
||||
cache:
|
||||
local-max-size: 2048
|
||||
product-detail:
|
||||
local-ttl-seconds: 120
|
||||
redis-ttl-seconds: 900
|
||||
product-list:
|
||||
local-ttl-seconds: 60
|
||||
redis-ttl-seconds: 300
|
||||
product-search:
|
||||
local-ttl-seconds: 60
|
||||
redis-ttl-seconds: 300
|
||||
shop:
|
||||
local-ttl-seconds: 180
|
||||
redis-ttl-seconds: 900
|
||||
tag:
|
||||
local-ttl-seconds: 300
|
||||
redis-ttl-seconds: 1200
|
||||
object-storage-file:
|
||||
local-ttl-seconds: 300
|
||||
redis-ttl-seconds: 1800
|
||||
dashboard:
|
||||
local-ttl-seconds: 30
|
||||
redis-ttl-seconds: 90
|
||||
slow-request:
|
||||
enabled: true
|
||||
threshold-ms: 300
|
||||
log-response-header-request-id: true
|
||||
http-client:
|
||||
connect-timeout-ms: 3000
|
||||
read-timeout-ms: 5000
|
||||
connection-request-timeout-ms: 1000
|
||||
max-total-connections: 200
|
||||
max-connections-per-route: 50
|
||||
|
||||
object-storage:
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
replica-required-providers:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
primary-provider: MINIO
|
||||
backup-provider: QINIU_KODO,ALIYUN_OSS
|
||||
signed-url-expire-minutes: 60
|
||||
backup-queue-name: fingertip-designer.file.object-storage.backup.queue
|
||||
backup-exchange-name: fingertip-designer.file.object-storage.backup.exchange
|
||||
backup-routing-key: fingertip-designer.file.object-storage.backup
|
||||
backup-retry-batch-limit: 500
|
||||
backup-retry-cron: "0 0 2 * * ?"
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:}
|
||||
domain: ${QINIU_KODO_DOMAIN:}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:}
|
||||
region: ${ALIYUN_OSS_REGION:}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
# 除 bootstrap.yaml 中的 Nacos 启动引导参数外,后端运行参数统一由 Nacos 配置源管理。
|
||||
|
||||
@@ -5,29 +5,29 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.10.11:8848,192.168.10.12:8848,192.168.10.13:8848}
|
||||
# Nacos 命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-artlist}
|
||||
# Nacos 启动引导地址固定指向开发配置中心。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 启动引导命名空间。
|
||||
namespace: jayucloud-artlist
|
||||
# 服务注册分组。
|
||||
group: DEFAULT_GROUP
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name}
|
||||
service: jc-artlist-core
|
||||
# 是否启用服务发现。
|
||||
enabled: true
|
||||
# 是否将当前服务注册到 Nacos。
|
||||
register-enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD}
|
||||
password: 122503wcy....
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.10.11:8848,192.168.10.12:8848,192.168.10.13:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-artlist}
|
||||
# Nacos 配置中心地址,与服务发现使用同一开发节点。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 配置中心命名空间。
|
||||
namespace: jayucloud-artlist
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# Core 服务独有配置文件。
|
||||
name: core
|
||||
# 所有 Nacos 配置均使用 YAML。
|
||||
@@ -35,17 +35,17 @@ spring:
|
||||
# 是否启用配置中心。
|
||||
enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD}
|
||||
password: 122503wcy....
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: secret.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: logging.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
|
||||
@@ -1,132 +1 @@
|
||||
spring:
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
# 前台API路由
|
||||
- id: product-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/product/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: product-like-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/product-like/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: shop-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/shop/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: user-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/user/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: comment-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/comment/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: balance-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/balance/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: tag-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/tag/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: file-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/file/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: permission-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/permission/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: coupon-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/coupon/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: cart-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/cart/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: order-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/order/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: wishlist-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/wishlist/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: nail-artist-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/nail-artist/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: legal-agreement-route
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/legal-agreement/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
# 前台API兜底路由,避免 Core 新增模块后 Gateway 未同步导致 404
|
||||
- id: frontend-fallback-route
|
||||
order: 100
|
||||
uri: lb://jc-artlist-core
|
||||
predicates:
|
||||
- Path=/api/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
|
||||
fingertip-designer:
|
||||
security:
|
||||
jwt:
|
||||
issuer: fingertip-designer
|
||||
clock-skew-seconds: 30
|
||||
gateway:
|
||||
whitelist:
|
||||
- /api/user/login
|
||||
- /api/user/register
|
||||
- /api/user/check/**
|
||||
- /api/user/refresh-token
|
||||
- /api/user/send-verification-code
|
||||
- /api/user/phone-login
|
||||
- /api/user/wechat-mini/**
|
||||
- /api/user/reset-password-by-phone
|
||||
- /api/nail-artist/profile/**
|
||||
- /api/nail-artist/*/availability
|
||||
- /api/nail-artist/*/reviews
|
||||
- /api/shop/list
|
||||
- /api/shop/list/simple
|
||||
- /api/legal-agreement/current
|
||||
- /api/legal-agreement/current/**
|
||||
- /api/health/**
|
||||
- /api/error
|
||||
slow-request:
|
||||
enabled: true
|
||||
threshold-ms: 300
|
||||
log-response-header-request-id: true
|
||||
# 除 bootstrap.yaml 中的 Nacos 启动引导参数外,Gateway 路由与运行参数统一由 Nacos 配置源管理。
|
||||
|
||||
@@ -5,41 +5,41 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.10.11:8848,192.168.10.12:8848,192.168.10.13:8848}
|
||||
# Nacos 命名空间,默认指向开发环境
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-artlist}
|
||||
# Nacos 启动引导地址固定指向开发配置中心。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 启动引导命名空间。
|
||||
namespace: jayucloud-artlist
|
||||
# 服务注册分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name}
|
||||
service: jc-artlist-gateway
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD}
|
||||
password: 122503wcy....
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.10.11:8848,192.168.10.12:8848,192.168.10.13:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-artlist}
|
||||
# Nacos 配置中心地址,与服务发现使用同一开发节点。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 配置中心命名空间。
|
||||
namespace: jayucloud-artlist
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# Gateway 服务独有配置文件。
|
||||
name: gateway
|
||||
# 所有 Nacos 配置均使用 YAML。
|
||||
file-extension: yaml
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD}
|
||||
password: 122503wcy....
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: secret.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: logging.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
|
||||
@@ -5,29 +5,29 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848}
|
||||
# Nacos 命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-salon}
|
||||
# Nacos 启动引导地址固定指向开发配置中心。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 启动引导命名空间。
|
||||
namespace: jayucloud-salon
|
||||
# 服务注册分组。
|
||||
group: DEFAULT_GROUP
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name}
|
||||
service: jc-salon-core
|
||||
# 是否启用服务发现。
|
||||
enabled: true
|
||||
# 是否将当前服务注册到 Nacos。
|
||||
register-enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:jayucloud}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
password: 122503wcy....
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-salon}
|
||||
# Nacos 配置中心地址,与服务发现使用同一开发节点。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 配置中心命名空间。
|
||||
namespace: jayucloud-salon
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# Core 服务独有配置文件。
|
||||
name: core
|
||||
# 所有 Nacos 配置均使用 YAML。
|
||||
@@ -35,17 +35,17 @@ spring:
|
||||
# 是否启用配置中心。
|
||||
enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:jayucloud}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
password: 122503wcy....
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: secret.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: logging.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
|
||||
@@ -1,177 +1 @@
|
||||
spring:
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
# 前台API路由
|
||||
- id: product-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/product/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: product-like-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/product-like/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: shop-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/shop/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: user-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/user/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: comment-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/comment/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: balance-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/balance/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: tag-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/tag/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: file-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/file/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: permission-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/permission/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: coupon-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/coupon/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: cart-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/cart/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: order-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/order/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: wishlist-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/wishlist/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: nail-artist-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/nail-artist/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
- id: legal-agreement-route
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/legal-agreement/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
# 后台管理API路由(/api/admin/** 格式)
|
||||
- id: admin-api-route
|
||||
order: -10
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/admin/**
|
||||
filters:
|
||||
- RewritePath=/api/admin/(?<remaining>.*), /admin/${remaining}
|
||||
# 后台管理API路由(/admin/api/** 格式)
|
||||
- id: admin-route
|
||||
order: -9
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/admin/api/**
|
||||
filters:
|
||||
- RewritePath=/admin/api/(?<remaining>.*), /admin/${remaining}
|
||||
# 工作台注册审核接口实际位于 Core 的 /user/workbench 路径
|
||||
- id: admin-workbench-registration-route
|
||||
order: -10
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/admin/api/user/workbench/registration/**
|
||||
filters:
|
||||
- RewritePath=/admin/api/user/workbench/registration/(?<remaining>.*), /user/workbench/registration/${remaining}
|
||||
- id: admin-auth-compat-route
|
||||
order: -8
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/admin/auth/**
|
||||
# 前台API兜底路由,避免 Core 新增模块后 Gateway 未同步导致 404
|
||||
- id: frontend-fallback-route
|
||||
order: 100
|
||||
uri: lb://jc-salon-core
|
||||
predicates:
|
||||
- Path=/api/**
|
||||
filters:
|
||||
- RewritePath=/api/(?<remaining>.*), /${remaining}
|
||||
|
||||
fingertip-designer:
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-salon
|
||||
clock-skew-seconds: 30
|
||||
gateway:
|
||||
whitelist:
|
||||
- /api/user/login
|
||||
- /api/user/register
|
||||
- /api/user/check/**
|
||||
- /api/user/refresh-token
|
||||
- /api/user/send-verification-code
|
||||
- /api/user/phone-login
|
||||
- /api/user/wechat-mini/auto-login
|
||||
- /api/user/wechat-mini/phone-login
|
||||
- /api/user/wechat-mini/confirm-login
|
||||
- /api/user/wechat-mini/status
|
||||
- /api/user/wechat-mini/quick-login
|
||||
- /api/user/workbench/register/**
|
||||
- /api/user/workbench/shops/available
|
||||
- /api/user/reset-password-by-phone
|
||||
- /api/nail-artist/profile/**
|
||||
- /api/nail-artist/*/availability
|
||||
- /api/nail-artist/*/reviews
|
||||
- /api/shop/list
|
||||
- /api/shop/list/simple
|
||||
- /api/legal-agreement/current
|
||||
- /api/legal-agreement/current/**
|
||||
- /api/health/**
|
||||
- /api/error
|
||||
- /api/admin/auth/login
|
||||
- /api/admin/auth/login-shops/**
|
||||
- /api/admin/auth/refresh
|
||||
- /api/admin/auth/register
|
||||
- /admin/auth/login
|
||||
- /admin/auth/login-shops/**
|
||||
- /admin/auth/refresh
|
||||
- /admin/api/auth/login
|
||||
- /admin/api/auth/login-shops/**
|
||||
- /admin/api/auth/refresh
|
||||
slow-request:
|
||||
enabled: true
|
||||
threshold-ms: 300
|
||||
log-response-header-request-id: true
|
||||
# 除 bootstrap.yaml 中的 Nacos 启动引导参数外,Gateway 路由与运行参数统一由 Nacos 配置源管理。
|
||||
|
||||
@@ -5,41 +5,41 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848}
|
||||
# Nacos 命名空间,默认指向开发环境
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-salon}
|
||||
# Nacos 启动引导地址固定指向开发配置中心。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 启动引导命名空间。
|
||||
namespace: jayucloud-salon
|
||||
# 服务注册分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name:jayucloud-salon-core}
|
||||
service: jc-salon-gateway
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:jayucloud}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
password: 122503wcy....
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:jayucloud-salon}
|
||||
# Nacos 配置中心地址,与服务发现使用同一开发节点。
|
||||
server-addr: 192.168.5.15:8848
|
||||
# Nacos 配置中心命名空间。
|
||||
namespace: jayucloud-salon
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# Gateway 服务独有配置文件。
|
||||
name: gateway
|
||||
# 所有 Nacos 配置均使用 YAML。
|
||||
file-extension: yaml
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:jayucloud}
|
||||
username: jayucloud
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
password: 122503wcy....
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: secret.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- data-id: logging.yaml
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# FingertipDesigner 配置整理说明
|
||||
|
||||
> 历史说明:后端环境变量注入方式已于 2026-10-10 停用。当前配置方式见 `后端配置统一由Nacos明文管理_20261010.md`。
|
||||
|
||||
## 命名空间
|
||||
|
||||
- `FingertipDesigner-Dev`:开发环境配置。
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# 后端配置统一由 Nacos 明文管理说明
|
||||
|
||||
更新时间:2026-10-10
|
||||
|
||||
## 调整范围
|
||||
|
||||
本次覆盖以下后端模块与仓库 Nacos 配置源:
|
||||
|
||||
- `JC-Salon-Core`
|
||||
- `JC-Salon-Gateway`
|
||||
- `JC-ArtList-Core`
|
||||
- `JC-ArtList-Gateway`
|
||||
- `nacos/namespaces/dev`
|
||||
- `nacos/namespaces/sit`
|
||||
- `nacos/namespaces/prod`
|
||||
|
||||
前端和微信小程序不在本次范围内。本次未连接、修改或发布任何实际 Nacos 环境。
|
||||
|
||||
## 配置归属
|
||||
|
||||
四个后端模块连接 Nacos 所必需的地址、命名空间、分组、服务名、用户名和密码,直接明文写在各模块 `bootstrap.yaml` 中。这是服务读取 Nacos 前必须具备的启动引导配置。
|
||||
|
||||
数据库、Redis、RabbitMQ、对象存储、MessageHub、微信小程序及其他业务参数在仓库的 Nacos 配置源中明文管理。原 `${ENV}` 与 `${ENV:default}` 环境变量占位符已展开,不再接受操作系统环境变量覆盖。
|
||||
|
||||
ArtList Core、ArtList Gateway 和 Salon Gateway 原有 `application.yaml` 业务兜底已移除,仅保留配置归属说明。服务无法读取 Nacos 时应直接启动失败,不再回退到仓库内另一套运行参数。
|
||||
|
||||
Gateway 的 `${remaining}` 是 `RewritePath` 路由替换表达式,不属于环境变量,继续保留。
|
||||
|
||||
## 环境值处理
|
||||
|
||||
- dev、SIT、prod 保留各自的数据库地址、Redis 地址、RabbitMQ 地址、对象存储地址、数据库名、桶名和命名空间差异。
|
||||
- SIT/prod 原本缺失的用户名、密码和存储密钥按任务确认复制 dev 明文值。
|
||||
- Salon dev、SIT、prod 已写入微信小程序 AppID `wxb6d77f7c07020d51`。
|
||||
- 微信 AppSecret 当前未提供,三个环境均明确配置为空字符串。发布前必须填入真实 AppSecret,否则 OpenID 登录会返回“微信小程序登录未配置 appId/appSecret”。
|
||||
- ArtList 未发现经确认的独立微信凭据,因此未伪造或复用 Salon 微信配置。
|
||||
|
||||
## 风险
|
||||
|
||||
仓库与 Git 历史会直接保存数据库、缓存、消息队列和对象存储等明文凭据。任何拥有仓库读取权限的人均可读取这些值;凭据轮换也必须通过仓库修改和 Nacos 发布完成。
|
||||
|
||||
同一模块的 `bootstrap.yaml` 固定连接开发 Nacos。若后续需要让同一构建产物连接 SIT 或生产 Nacos,必须先明确新的启动引导选择机制;本次不保留环境变量覆盖入口。
|
||||
|
||||
## 发布步骤
|
||||
|
||||
1. 发布前补齐 Salon 微信 AppSecret,并复核每个环境的连接地址和明文凭据。
|
||||
2. 使用现有 Nacos 发布流程选择目标环境,不得跨环境混发。
|
||||
3. 先发布共享的 `infra.yaml`、`secret.yaml`,再发布 `core.yaml`、`gateway.yaml` 和 `logging.yaml`。
|
||||
4. 发布后重启对应 Core/Gateway,验证数据库、Redis、RabbitMQ、对象存储和微信接口。
|
||||
5. 本说明只描述仓库配置,不代表配置已经发布。
|
||||
|
||||
## 验证
|
||||
|
||||
- 扫描四个后端资源目录和 `nacos/namespaces/**`,除 Gateway `${remaining}` 外不得存在 `${...}`。
|
||||
- 解析全部 YAML 配置。
|
||||
- 编译四个后端 Maven 模块,并运行 Core 模块测试。
|
||||
- 确认最终 Git 差异不包含前端、小程序及用户已有工作区修改。
|
||||
|
||||
本次仓库验证结果:
|
||||
|
||||
- SnakeYAML 成功解析 37 个后端与 Nacos YAML 文件。
|
||||
- Salon Core 测试通过(3 个测试,0 失败),Salon Gateway 与 ArtList Gateway 编译通过。
|
||||
- ArtList Core 被既有 Java 源码中的历史包名导入阻断:`UserServiceImpl` 与 `UserController` 仍引用不存在的 `com.xiaowang.fingertipdesigner...` DTO 包。本次没有修改 Java 源码,该失败与配置调整无关,需另行修复后才能完成 ArtList Core 全量编译。
|
||||
- GitNexus 工具在当前会话不可用,提交前使用配置引用扫描、YAML 解析、Git 变更检查和 Maven 验证替代。
|
||||
@@ -1,5 +1,7 @@
|
||||
# 开发环境Nacos默认地址配置说明
|
||||
|
||||
> 历史说明:后端环境变量覆盖入口已于 2026-10-10 移除。当前配置方式见 `后端配置统一由Nacos明文管理_20261010.md`。
|
||||
|
||||
## 当前配置
|
||||
|
||||
- `JC-ArtList-Core/src/main/resources/bootstrap.yaml` 和 `JC-ArtList-Gateway/src/main/resources/bootstrap.yaml` 保留 `NACOS_SERVER_ADDR`、`NACOS_NAMESPACE`、`NACOS_GROUP`、`NACOS_USERNAME`、`NACOS_PASSWORD` 环境变量覆盖方式。
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 接回 MinIO 三副本对象存储配置说明
|
||||
|
||||
> 历史说明:后端对象存储环境变量覆盖入口已于 2026-10-10 移除,参数现由仓库 Nacos 配置源明文管理。当前方式见 `后端配置统一由Nacos明文管理_20261010.md`。
|
||||
|
||||
## 当前结论
|
||||
|
||||
- 开发 MinIO 服务健康检查已通过:`http://192.168.5.15:9000/minio/health/live` 返回 `200 OK`。
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 生产 Salon Core 与 Gateway 环境变量准备说明
|
||||
|
||||
> 历史说明:本方案已于 2026-10-10 停用,不得再生成或注入本文所述环境文件。当前配置方式见 `后端配置统一由Nacos明文管理_20261010.md`。
|
||||
|
||||
更新时间:2026-08-27
|
||||
|
||||
## 适用节点
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 生产与测试环境 Nacos 配置说明
|
||||
|
||||
> 历史说明:后端环境变量注入方式已于 2026-10-10 停用。当前仓库明文配置及发布前检查以 `后端配置统一由Nacos明文管理_20261010.md` 为准。
|
||||
|
||||
## 配置目录
|
||||
|
||||
Nacos 配置源按环境、命名空间和 Group 分离:
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 运维配置与集成说明
|
||||
|
||||
> 已于 2026-10-10 停用后端环境变量注入方案。当前以 `docs/scripts/后端配置统一由Nacos明文管理_20261010.md` 为准;本文中的环境变量表仅保留为历史记录,不得继续作为部署依据。
|
||||
|
||||
## 双端生产隔离
|
||||
|
||||
设计师端和店务端分别使用独立的后端、Web、小程序、数据库和 Nacos namespace:
|
||||
|
||||
@@ -74,3 +74,13 @@
|
||||
- 设计师 Web 与小程序移除管理端路由、页面、API、后台会话和管理入口;店务 Web 收敛为管理端路由。
|
||||
- 将双端职责裁剪结果合并到 `docs/scripts/sql/init/jayucloud-salon.sql` 与 `docs/scripts/sql/init/jayucloud-artlist.sql`。
|
||||
- GitNexus impact/detect_changes 受本地 LadybugDB WAL 崩溃影响未能返回结果,已通过四后端打包和前端构建/测试进行替代验证。
|
||||
# 2026-10-10 后端配置统一由 Nacos 明文管理
|
||||
|
||||
- Salon 与 ArtList 四个后端模块的 Nacos 启动引导参数改为 `bootstrap.yaml` 明文配置,不再接受环境变量覆盖。
|
||||
- 移除 ArtList Core、ArtList Gateway 和 Salon Gateway 的本地业务配置兜底,运行参数与 Gateway 路由统一以 Nacos 配置源为准。
|
||||
- dev、SIT、prod 六套 Nacos 配置源中的后端环境变量占位符全部展开为明文,并保留各环境连接地址和资源名称差异。
|
||||
- SIT/prod 缺失凭据按任务确认复制 dev 值;Salon 三套环境写入微信小程序 AppID,AppSecret 因未提供真实值而明确留空。
|
||||
- 新增 `docs/scripts/后端配置统一由Nacos明文管理_20261010.md`,记录明文风险、启动引导例外、发布步骤和验证方式。
|
||||
- 本次未修改前端或小程序,未连接或发布实际 Nacos。
|
||||
- 验证完成 37 个 YAML 文件解析、Salon Core 测试及两个 Gateway 编译;ArtList Core 因既有历史包名导入错误无法编译,已在配置说明中记录。
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ mybatis:
|
||||
|
||||
fingertip-designer:
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Artlist}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Artlist
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-artlist
|
||||
@@ -110,29 +110,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-dev}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-dev}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST:192.168.5.15}
|
||||
port: ${REDIS_PORT:6379}
|
||||
username: ${REDIS_USERNAME:xiaowang}
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
host: 192.168.5.15
|
||||
port: 6379
|
||||
username: xiaowang
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:192.168.5.15:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST}
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
addresses: 192.168.5.15:5672
|
||||
virtual-host: /jayucloud-artlist-dev
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -19,38 +19,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL}
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
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:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${MINIO_ACCESS_KEY}
|
||||
secret-key: ${MINIO_SECRET_KEY}
|
||||
enabled: true
|
||||
endpoint: http://192.168.5.15:9000
|
||||
bucket-name: jayucloud-dev
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud-dev
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-dev}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud-dev
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME}
|
||||
password: ${NACOS_PASSWORD}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -27,9 +27,13 @@ mybatis:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
fingertip-designer:
|
||||
wechat:
|
||||
mini:
|
||||
app-id: wxb6d77f7c07020d51
|
||||
app-secret: ""
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Salon}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Salon
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-salon
|
||||
@@ -111,29 +115,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-dev}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${MINIO_ACCESS_KEY:minio_xiaowang}
|
||||
secret-key: ${MINIO_SECRET_KEY:122503wcy}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-dev}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:LTAI5t9divmxMWHiKhLSRdDd}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST:192.168.5.15}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: ${REDIS_PASSWORD:122503wcy}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
host: 192.168.5.15
|
||||
port: 6379
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:192.168.5.15:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST:/jayucloud-salon-dev}
|
||||
username: ${RABBITMQ_USERNAME:rabbitmq}
|
||||
password: ${RABBITMQ_PASSWORD:122503wcy....}
|
||||
addresses: 192.168.5.15:5672
|
||||
virtual-host: /jayucloud-salon-dev
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -18,38 +18,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL:jdbc:mysql://192.168.5.15:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai}
|
||||
username: ${BUSINESS_DB_USERNAME:root}
|
||||
password: ${BUSINESS_DB_PASSWORD:122503wcy}
|
||||
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:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${MINIO_ACCESS_KEY:minio_xiaowang}
|
||||
secret-key: ${MINIO_SECRET_KEY:122503wcy}
|
||||
enabled: true
|
||||
endpoint: http://192.168.5.15:9000
|
||||
bucket-name: jayucloud-dev
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-dev}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud-dev
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-dev}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:LTAI5t9divmxMWHiKhLSRdDd}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud-dev
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME:jayucloud}
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME:root}
|
||||
password: ${BUSINESS_DB_PASSWORD:122503wcy}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD:122503wcy}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME:rabbitmq}
|
||||
password: ${RABBITMQ_PASSWORD:122503wcy....}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME:root}
|
||||
password: ${BUSINESS_DB_PASSWORD:122503wcy}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -27,8 +27,8 @@ mybatis:
|
||||
|
||||
fingertip-designer:
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Artlist}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Artlist
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-artlist
|
||||
@@ -110,29 +110,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.105:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
spring:
|
||||
redis:
|
||||
sentinel:
|
||||
master: ${REDIS_SENTINEL_MASTER:mymaster}
|
||||
nodes: ${REDIS_SENTINEL_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: ${REDIS_USERNAME:xiaowang}
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
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
|
||||
username: xiaowang
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:mq-prod.internal:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST}
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
addresses: mq-prod.internal:5672
|
||||
virtual-host: Jayucloud-ArtList
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -20,38 +20,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL}
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
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:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.105:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${MINIO_ACCESS_KEY}
|
||||
secret-key: ${MINIO_SECRET_KEY}
|
||||
enabled: true
|
||||
endpoint: http://192.168.10.105:9000
|
||||
bucket-name: jayucloud
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME}
|
||||
password: ${NACOS_PASSWORD}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -26,9 +26,13 @@ mybatis:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
fingertip-designer:
|
||||
wechat:
|
||||
mini:
|
||||
app-id: wxb6d77f7c07020d51
|
||||
app-secret: ""
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Salon}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Salon
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-salon
|
||||
@@ -110,29 +114,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.105:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
spring:
|
||||
redis:
|
||||
sentinel:
|
||||
master: ${REDIS_SENTINEL_MASTER:mymaster}
|
||||
nodes: ${REDIS_SENTINEL_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: ${REDIS_USERNAME:xiaowang}
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
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
|
||||
username: xiaowang
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:mq-prod.internal:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST}
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
addresses: mq-prod.internal:5672
|
||||
virtual-host: Jayucloud-Salon
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -20,38 +20,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL}
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
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:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.105:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${MINIO_ACCESS_KEY}
|
||||
secret-key: ${MINIO_SECRET_KEY}
|
||||
enabled: true
|
||||
endpoint: http://192.168.10.105:9000
|
||||
bucket-name: jayucloud
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME}
|
||||
password: ${NACOS_PASSWORD}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -27,8 +27,8 @@ mybatis:
|
||||
|
||||
fingertip-designer:
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Artlist}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Artlist
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-artlist
|
||||
@@ -110,29 +110,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST:192.168.10.12}
|
||||
port: ${REDIS_PORT:6379}
|
||||
username: ${REDIS_USERNAME:xiaowang}
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
host: 192.168.10.12
|
||||
port: 6379
|
||||
username: xiaowang
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:192.168.10.13:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST}
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
addresses: 192.168.10.13:5672
|
||||
virtual-host: /jayucloud-artlist-sit
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -19,38 +19,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL}
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
jdbc-url: jdbc:mysql://192.168.10.102:3306/jayucloud_artlist?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
object-storage:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.14:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${MINIO_ACCESS_KEY}
|
||||
secret-key: ${MINIO_SECRET_KEY}
|
||||
enabled: true
|
||||
endpoint: http://192.168.10.14:9000
|
||||
bucket-name: jayucloud-sit
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud-sit
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud-sit
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME}
|
||||
password: ${NACOS_PASSWORD}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -26,9 +26,13 @@ mybatis:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
fingertip-designer:
|
||||
wechat:
|
||||
mini:
|
||||
app-id: wxb6d77f7c07020d51
|
||||
app-secret: ""
|
||||
brand:
|
||||
message-template-name: ${PLATFORM_MESSAGE_TEMPLATE_NAME:JayuCloud-Salon}
|
||||
manager-register-shop-description: ${PLATFORM_MANAGER_REGISTER_SHOP_DESCRIPTION:甲屿店务注册店铺}
|
||||
message-template-name: JayuCloud-Salon
|
||||
manager-register-shop-description: 甲屿店务注册店铺
|
||||
security:
|
||||
jwt:
|
||||
issuer: jayucloud-salon
|
||||
@@ -92,11 +96,11 @@ fingertip-designer:
|
||||
|
||||
messagehub:
|
||||
client:
|
||||
base-url: ${MESSAGEHUB_BASE_URL:http://192.168.10.16:8080}
|
||||
access-token: ${MESSAGEHUB_ACCESS_TOKEN:}
|
||||
ingress-exchange: ${MESSAGEHUB_INGRESS_EXCHANGE:messagehub.ingress.exchange}
|
||||
ingress-routing-key: ${MESSAGEHUB_INGRESS_ROUTING_KEY:message.send}
|
||||
source-system: ${MESSAGEHUB_SOURCE_SYSTEM:jayucloud-salon}
|
||||
base-url: http://192.168.10.16:8080
|
||||
access-token: ""
|
||||
ingress-exchange: messagehub.ingress.exchange
|
||||
ingress-routing-key: message.send
|
||||
source-system: jayucloud-salon
|
||||
|
||||
object-storage:
|
||||
provider-order:
|
||||
@@ -118,29 +122,29 @@ object-storage:
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY:}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY:}
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${QINIU_KODO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${MINIO_ENABLED:false}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.5.15:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${MINIO_ACCESS_KEY:}
|
||||
secret-key: ${MINIO_SECRET_KEY:}
|
||||
private-bucket: ${MINIO_PRIVATE_BUCKET:true}
|
||||
signed-url-expire-minutes: ${MINIO_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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: ${ALIYUN_OSS_ENABLED:false}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID:}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET:}
|
||||
signed-url-expire-minutes: ${ALIYUN_OSS_SIGNED_URL_EXPIRE_MINUTES:60}
|
||||
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
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST:192.168.10.12}
|
||||
port: ${REDIS_PORT:6379}
|
||||
username: ${REDIS_USERNAME:xiaowang}
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: ${REDIS_DATABASE:0}
|
||||
host: 192.168.10.12
|
||||
port: 6379
|
||||
username: xiaowang
|
||||
password: 122503wcy
|
||||
database: 0
|
||||
rabbitmq:
|
||||
addresses: ${RABBITMQ_ADDRESSES:192.168.10.13:5672}
|
||||
virtual-host: ${RABBITMQ_VHOST}
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
addresses: 192.168.10.13:5672
|
||||
virtual-host: /jayucloud-salon-sit
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
listener:
|
||||
@@ -19,38 +19,38 @@ spring:
|
||||
|
||||
database:
|
||||
business:
|
||||
jdbc-url: ${BUSINESS_JDBC_URL}
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
jdbc-url: jdbc:mysql://192.168.10.102:3306/jayucloud_salon?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
object-storage:
|
||||
primary-provider: ${OBJECT_STORAGE_PRIMARY_PROVIDER:MINIO}
|
||||
primary-provider: MINIO
|
||||
provider-order:
|
||||
- MINIO
|
||||
- QINIU_KODO
|
||||
- ALIYUN_OSS
|
||||
|
||||
minio:
|
||||
enabled: ${MINIO_ENABLED:true}
|
||||
endpoint: ${MINIO_ENDPOINT:http://192.168.10.14:9000}
|
||||
bucket-name: ${MINIO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${MINIO_ACCESS_KEY}
|
||||
secret-key: ${MINIO_SECRET_KEY}
|
||||
enabled: true
|
||||
endpoint: http://192.168.10.14:9000
|
||||
bucket-name: jayucloud-sit
|
||||
access-key: minio_xiaowang
|
||||
secret-key: 122503wcy
|
||||
|
||||
qiniu:
|
||||
kodo:
|
||||
bucket-name: ${QINIU_KODO_BUCKET_NAME:jayucloud-sit}
|
||||
access-key: ${QINIU_KODO_ACCESS_KEY}
|
||||
secret-key: ${QINIU_KODO_SECRET_KEY}
|
||||
domain: ${QINIU_KODO_DOMAIN:https://img.yunail.art}
|
||||
zone: ${QINIU_KODO_ZONE:z2}
|
||||
private-bucket: ${QINIU_KODO_PRIVATE_BUCKET:true}
|
||||
bucket-name: jayucloud-sit
|
||||
access-key: U_btHNrxj1X0UaHllVO8mq4p-8jB1Php-87vi2M7
|
||||
secret-key: WIO_jEcir_2upUqoIzn5Hu5EWSb4-yB4sWeLFiXD
|
||||
domain: https://img.yunail.art
|
||||
zone: z2
|
||||
private-bucket: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
enabled: ${ALIYUN_OSS_ENABLED:true}
|
||||
endpoint: ${ALIYUN_OSS_ENDPOINT:https://oss-cn-chengdu.aliyuncs.com}
|
||||
region: ${ALIYUN_OSS_REGION:cn-chengdu}
|
||||
bucket-name: ${ALIYUN_OSS_BUCKET_NAME:jayucloud-sit}
|
||||
access-key-id: ${ALIYUN_OSS_ACCESS_KEY_ID}
|
||||
access-key-secret: ${ALIYUN_OSS_ACCESS_KEY_SECRET}
|
||||
enabled: true
|
||||
endpoint: https://oss-cn-chengdu.aliyuncs.com
|
||||
region: cn-chengdu
|
||||
bucket-name: jayucloud-sit
|
||||
access-key-id: LTAI5t9divmxMWHiKhLSRdDd
|
||||
access-key-secret: U4BlsNpy7ISLbWYrQUsBMswaRH8G9Q
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
security:
|
||||
nacos:
|
||||
username: ${NACOS_USERNAME}
|
||||
password: ${NACOS_PASSWORD}
|
||||
username: jayucloud
|
||||
password: 122503wcy....
|
||||
database:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
redis:
|
||||
password: ${REDIS_PASSWORD}
|
||||
password: 122503wcy
|
||||
rabbitmq:
|
||||
username: ${RABBITMQ_USERNAME}
|
||||
password: ${RABBITMQ_PASSWORD}
|
||||
username: rabbitmq
|
||||
password: 122503wcy....
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
username: ${BUSINESS_DB_USERNAME}
|
||||
password: ${BUSINESS_DB_PASSWORD}
|
||||
username: root
|
||||
password: 122503wcy
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 开发店务 Nacos 默认参数说明
|
||||
|
||||
> 历史说明:后端环境变量覆盖入口已于 2026-10-10 移除。当前配置方式见 `docs/scripts/后端配置统一由Nacos明文管理_20261010.md`。
|
||||
|
||||
更新时间:2026-08-26
|
||||
|
||||
适用范围:`nacos/namespaces/dev/jayucloud-salon/DEFAULT_GROUP/`。
|
||||
|
||||
Reference in New Issue
Block a user