Persist scan terminal cache in Redis

This commit is contained in:
2569718930@qq.com
2026-06-01 01:53:54 +08:00
parent de5083ef18
commit 9a0d7ae444
3 changed files with 195 additions and 27 deletions
+2
View File
@@ -28,6 +28,7 @@ services:
env_file: &id001
- .env
environment:
POLYWEATHER_REDIS_URL: ${POLYWEATHER_REDIS_URL:-redis://polyweather_redis:6379/0}
POLYWEATHER_SCAN_TERMINAL_PREWARM_ENABLED: 'false'
POLYWEATHER_SERVICE_ROLE: bot
TELEGRAM_AIRPORT_PUSH_INTERVAL_SEC: ${POLYWEATHER_BOT_AIRPORT_PUSH_INTERVAL_SEC:-180}
@@ -96,6 +97,7 @@ services:
container_name: polyweather_web
env_file: *id001
environment:
POLYWEATHER_REDIS_URL: ${POLYWEATHER_REDIS_URL:-redis://polyweather_redis:6379/0}
POLYWEATHER_SERVICE_ROLE: web
healthcheck:
interval: 30s