Spaces:
Sleeping
Sleeping
Download docker-compose.yml from RYUK999/TeleBotDown: direct link, hf CLI and curl.
- Browser
- Download file 783 Bytes
-
https://huggingface.co/spaces/RYUK999/TeleBotDown/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/RYUK999/TeleBotDown/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/RYUK999/TeleBotDown/resolve/main/docker-compose.yml
783 Bytes
| version: '3.8' | |
| services: | |
| # Local Telegram Bot API server to unlock 2 GB limits | |
| bot-api: | |
| image: aiogram/telegram-bot-api:latest | |
| environment: | |
| TELEGRAM_API_ID: ${TELEGRAM_API_ID} | |
| TELEGRAM_API_HASH: ${TELEGRAM_API_HASH} | |
| TELEGRAM_LOCAL: "true" | |
| volumes: | |
| - bot-api-data:/var/lib/telegram-bot-api | |
| restart: unless-stopped | |
| # Main Python Telegram Bot | |
| bot: | |
| build: . | |
| env_file: .env | |
| environment: | |
| BOT_TOKEN: ${BOT_TOKEN} | |
| BOT_API_URL: http://bot-api:8081/bot | |
| BOT_API_FILE_URL: http://bot-api:8081/file/bot | |
| volumes: | |
| - ./downloads:/app/downloads | |
| - ./cookies.txt:/app/cookies.txt:ro # Mounts cookies safely if available | |
| depends_on: | |
| - bot-api | |
| restart: unless-stopped | |
| volumes: | |
| bot-api-data: | |