fix: add cookie for yt

This commit is contained in:
2025-09-19 23:47:14 +03:00
parent f9bbef506f
commit b9bdbcb1eb
5 changed files with 18 additions and 7 deletions

View File

@@ -7,8 +7,10 @@ services:
BINARY_NAME: tg-relay-rs
environment:
TELOXIDE_TOKEN: ${TELOXIDE_TOKEN}
COOKIES_PATH: /app/yt-cookies.txt
RUST_LOG: ${RUST_LOG:-info}
restart: unless-stopped
# If you need persistent storage (e.g. caching):
volumes:
- ./data:/app/data
- ./comments.txt:/app/comments.txt:ro
- ~/.config/yt-cookies.txt:/app/yt-cookies.txt:ro