tg2max-relay: peresylka otchyotov report-shot v MAX (lichnyy akkaunt, vkmax)

This commit is contained in:
khadzhibekovpa
2026-09-17 17:17:18 +03:00
commit 36cf1060d7
11 changed files with 542 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
relay:
build: .
image: tg2max-relay:latest
restart: unless-stopped
env_file:
- path: .env
required: false
environment:
TZ: ${TZ:-Europe/Moscow}
WATCH_DIR: /watch
STATE_DIR: /data
MAX_DEVICE_ID: ${MAX_DEVICE_ID:-}
MAX_LOGIN_TOKEN: ${MAX_LOGIN_TOKEN:-}
MAX_TARGET_CHAT: ${MAX_TARGET_CHAT:-}
POLL_INTERVAL: ${POLL_INTERVAL:-10}
REPORT_GLOBS: ${REPORT_GLOBS:-otchet_*.pdf}
ALERT_RE: ${ALERT_RE:-(?i)(⚠|Сбой по расписанию|отчёт неполный|FATAL|ERROR report_shot)}
RELAY_HELLO: ${RELAY_HELLO:-true}
MAX_SESSION_FILE: /data/max_session.json
volumes:
- relay-state:/data
- report-out:/watch:ro
volumes:
relay-state:
report-out:
name: n51q832cjhizblqwbibgjxsc_report-shot-output
external: true