fix: docker

This commit is contained in:
2025-09-20 00:15:50 +03:00
parent b9bdbcb1eb
commit ca3fbdb8f5
2 changed files with 3 additions and 4 deletions

View File

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