Isolate scan prewarm to web service

This commit is contained in:
2569718930@qq.com
2026-05-31 23:31:32 +08:00
parent 39c7c1903c
commit 3e5ff4ea8f
3 changed files with 32 additions and 1 deletions
+4
View File
@@ -28,6 +28,8 @@ services:
env_file: &id001
- .env
environment:
POLYWEATHER_SCAN_TERMINAL_PREWARM_ENABLED: 'false'
POLYWEATHER_SERVICE_ROLE: bot
TELEGRAM_AIRPORT_PUSH_INTERVAL_SEC: ${POLYWEATHER_BOT_AIRPORT_PUSH_INTERVAL_SEC:-180}
TELEGRAM_AIRPORT_PUSH_MAX_WORKERS: ${POLYWEATHER_BOT_AIRPORT_PUSH_MAX_WORKERS:-1}
healthcheck:
@@ -93,6 +95,8 @@ services:
max-file: "3"
container_name: polyweather_web
env_file: *id001
environment:
POLYWEATHER_SERVICE_ROLE: web
healthcheck:
interval: 30s
retries: 3