From a478bf1cf27f9cc50a105b79dd884d83d753c756 Mon Sep 17 00:00:00 2001 From: abcv7 Date: Wed, 26 Aug 2026 15:13:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20application-prod.yml=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20Redis=20database=20+=20MinIO=20bucket=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Redis: 新增 database 参数支持多项目隔离 (DB 0=公共, DB 1=tianai-captcha) - MinIO: bucket 默认值改为 tianai-captcha - 所有参数通过环境变量注入,兼容不同环境 --- .../src/main/resources/application-prod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tianai-captcha-platform/src/main/resources/application-prod.yml b/tianai-captcha-platform/src/main/resources/application-prod.yml index 68d6964..de2ab18 100644 --- a/tianai-captcha-platform/src/main/resources/application-prod.yml +++ b/tianai-captcha-platform/src/main/resources/application-prod.yml @@ -23,6 +23,7 @@ spring: host: ${REDIS_HOST:localhost} port: ${REDIS_PORT:6379} password: ${REDIS_PASS:} + database: ${REDIS_DB:0} jackson: date-format: yyyy-MM-dd HH:mm:ss @@ -44,7 +45,7 @@ minio: endpoint: ${MINIO_ENDPOINT:http://localhost:9000} access-key: ${MINIO_ACCESS_KEY:minioadmin} secret-key: ${MINIO_SECRET_KEY:minioadmin} - bucket: ${MINIO_BUCKET:captcha-resources} + bucket: ${MINIO_BUCKET:tianai-captcha} logging: level: