- 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>
22 lines
520 B
YAML
22 lines
520 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
smeta-bot:
|
|
build: .
|
|
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
|
|
- ./literature:/app/literature:ro
|
|
- faiss-index:/app/src/smeta_railway/ai/index
|
|
|
|
volumes:
|
|
faiss-index:
|