fix: network_mode host для доступа к локальному прокси 127.0.0.1:10808

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-22 18:09:56 +10:00
co-authored by Claude Opus 4.6
parent c429e48603
commit 8906be7d48
+3 -8
View File
@@ -5,17 +5,12 @@ services:
build: .
container_name: smeta-bot
restart: unless-stopped
network_mode: host
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"
- HTTPS_PROXY=http://127.0.0.1:10808
- HTTP_PROXY=http://127.0.0.1:10808
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: