mirror of
https://github.com/kristoferssolo/tg-relay-rs.git
synced 2025-12-20 11:04:41 +00:00
18 lines
656 B
YAML
18 lines
656 B
YAML
services:
|
|
bot:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
BINARY_NAME: tg-relay-rs
|
|
environment:
|
|
TELOXIDE_TOKEN: ${TELOXIDE_TOKEN}
|
|
IG_SESSION_COOKIE_PATH: /app/www.instagram.com_cookies.txt
|
|
TIKTOK_SESSION_COOKIE_PATH: /app/www.tiktok.com_cookies.txt
|
|
RUST_LOG: ${RUST_LOG:-info}
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./comments.txt:/app/comments.txt:ro
|
|
- ${IG_SESSION_COOKIE_PATH:-/etc/secrets/www.instagram.com_cookies.txt}:/app/www.instagram.com_cookies.txt:rw
|
|
- ${TIKTOK_SESSION_COOKIE_PATH:-/etc/secrets/www.tiktok.com_cookies.txt}:/app/www.tiktok.com_cookies.txt:rw
|