fix: Telegram-бот через прокси (xray на host:10808)
- telegram_bot.py: HTTPXRequest с proxy из HTTPS_PROXY env - docker-compose.yml: host.docker.internal:10808, extra_hosts gateway Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,11 @@ services:
|
||||
container_name: smeta-bot
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
- HTTPS_PROXY=http://host.docker.internal:10808
|
||||
- HTTP_PROXY=http://host.docker.internal:10808
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./resources.json:/app/resources.json:ro
|
||||
- ./data:/app/data:ro
|
||||
|
||||
Reference in New Issue
Block a user