tg2max-relay: peresylka otchyotov report-shot v MAX (lichnyy akkaunt, vkmax)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user