diff --git a/deploy/backend-watchdog-task.xml b/deploy/backend-watchdog-task.xml
index b58a9cf..88f59d2 100644
--- a/deploy/backend-watchdog-task.xml
+++ b/deploy/backend-watchdog-task.xml
@@ -17,11 +17,17 @@
PT10M
-
+
+
+ 2026-01-01T00:00:00
PT2M
+ P3650D
+ false
-
+
diff --git a/fruitshorts-admin-api/src/main/resources/application.yml b/fruitshorts-admin-api/src/main/resources/application.yml
index 41372e4..2930a0c 100644
--- a/fruitshorts-admin-api/src/main/resources/application.yml
+++ b/fruitshorts-admin-api/src/main/resources/application.yml
@@ -14,6 +14,12 @@ spring:
url: ${DB_URL:jdbc:postgresql://127.0.0.1:5432/fruitshorts}
username: ${DB_USER:fruitshorts}
password: ${DB_PASSWORD:fruitshorts}
+ data:
+ redis:
+ # 与 app-api 共用同一个 Redis 实例;容器内必须显式指定 host,
+ # 否则 Spring Boot 默认连 127.0.0.1(容器内即自身)导致健康检查报 DOWN。
+ host: ${REDIS_HOST:127.0.0.1}
+ port: ${REDIS_PORT:6379}
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Shanghai