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:
+3
-8
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user