Updated to ptb 21.0.1 and added socks5 proxy support

This commit is contained in:
Joan
2024-03-24 19:08:37 +01:00
parent 583cca776f
commit 23e5cfd878
6 changed files with 33 additions and 14 deletions

View File

@@ -7,8 +7,13 @@ services:
container_name: bot-amazon-telegram
volumes:
- ./data:/app/data
restart: unless-stopped
restart: always
environment:
- TELEGRAM_API_KEY=${TELEGRAM_API_KEY}
- baseURL=${baseURL}
- affiliate_tag=${affiliate_tag}
- affiliate_tag=${affiliate_tag}
- TELEGRAM_PROXY=${TELEGRAM_PROXY}
- TELEGRAM_SOCKS_USER=${TELEGRAM_SOCKS_USER}
- TELEGRAM_SOCKS_PASSWORD=${TELEGRAM_SOCKS_PASSWORD}
- TELEGRAM_SOCKS_SERVER=${TELEGRAM_SOCKS_SERVER}
- TELEGRAM_SOCKS_PORT=${TELEGRAM_SOCKS_PORT}