feat(yt): add cookies env flag

This commit is contained in:
2025-09-23 10:15:54 +03:00
parent e11223fa75
commit 5ad4aea252
3 changed files with 8 additions and 2 deletions

View File

@@ -8,8 +8,9 @@ services:
environment:
TELOXIDE_TOKEN: ${TELOXIDE_TOKEN}
COOKIES_PATH: ${COOKIES_PATH:-/app/yt-cookies.txt}
COOKIES: ${COOKIES:-false}
RUST_LOG: ${RUST_LOG:-info}
restart: unless-stopped
volumes:
- ./comments.txt:/app/comments.txt:ro
- /etc/secrets/yt-cookies.txt:/app/yt-cookies.txt
- /etc/secrets/yt-cookies.txt:/app/yt-cookies.txt:ro