Files
tg-watchbot/docker-compose.yml
T
GongyiChuren 99f59df7a0 feat: group/channel keyword monitor with user session; remove channel media
- Add user_session group monitor: Telethon listens to group/channel messages, matches keywords, notifies admin via bot
- Fix Telethon Message.caption AttributeError (use msg.message instead)
- Fix two Telethon clients conflicting on same session (merged into one)
- Remove channel media download/forward feature (not needed)
- Remove 'channel-media' from web panel navigation
- Fix nav label overlap issue (reduced negative margin)
- Docker: preserve WEB_PANEL_HOST env var from docker-compose (0.0.0.0)
- Update README: new changelog, remove channel media docs
2026-06-02 02:41:27 +08:00

15 lines
360 B
YAML

services:
tg-watchbot:
build: .
container_name: tg-watchbot
restart: unless-stopped
ports:
- "8765:8765"
environment:
WEB_PANEL_HOST: "0.0.0.0"
volumes:
- ./.env:/app/.env:ro
- ./config.yaml:/app/config.yaml
- ./tg-watchbot.sqlite3:/app/tg-watchbot.sqlite3
- ./tg-watchbot.log:/app/tg-watchbot.log