feat: 完善 N7 智能座舱交互与控制链路
This commit is contained in:
@@ -7,6 +7,7 @@ services:
|
||||
dockerfile: deploy/server/Dockerfile
|
||||
image: cognitive-agent-511:latest
|
||||
container_name: cognitive-agent-511
|
||||
user: "10001:10001"
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
env_file:
|
||||
@@ -20,12 +21,26 @@ services:
|
||||
PYTHONDONTWRITEBYTECODE: "1"
|
||||
PYTHONUNBUFFERED: "1"
|
||||
PYTHONPATH: /app/src:/app/domains/seat/src
|
||||
CODEX_HOME: /var/lib/codex
|
||||
CODEX_ASSISTANT_WORKSPACE: /tmp/codex-assistant-workspace
|
||||
CODEX_ASSISTANT_MODEL: gpt-5.6-luna
|
||||
CODEX_ASSISTANT_REASONING_EFFORT: low
|
||||
CODEX_ASSISTANT_DISABLE_WEBSOCKETS: "true"
|
||||
CODEX_ASSISTANT_STREAM_MAX_RETRIES: "1"
|
||||
CODEX_ASSISTANT_TURN_TIMEOUT_SECONDS: "300"
|
||||
SPEECH_MODEL_FILE: model.int8.onnx
|
||||
SPEECH_NUM_THREADS: "2"
|
||||
ports:
|
||||
- "127.0.0.1:8511:8000"
|
||||
volumes:
|
||||
- ../../artifacts/runs:/app/artifacts/runs
|
||||
- ../../artifacts/user-presets:/app/artifacts/user-presets
|
||||
- ../../artifacts/server:/app/artifacts/server
|
||||
- ../../artifacts/tmp:/app/artifacts/tmp
|
||||
- ../../artifacts/self-repair:/app/artifacts/self-repair
|
||||
- ../../artifacts/models:/app/artifacts/models:ro
|
||||
- ../../config/modes/vehicles/denza_n7/user:/app/config/modes/vehicles/denza_n7/user
|
||||
- codex_home:/var/lib/codex
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=64m,mode=1777
|
||||
@@ -39,7 +54,7 @@ services:
|
||||
- CMD
|
||||
- python
|
||||
- -c
|
||||
- import urllib.request; urllib.request.urlopen("http://127.0.0.1:8000/login", timeout=3)
|
||||
- import urllib.request; urllib.request.urlopen("http://127.0.0.1:8000/api/health", timeout=3)
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -49,3 +64,6 @@ services:
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
codex_home:
|
||||
|
||||
Reference in New Issue
Block a user