mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 23:53:55 +08:00
feat: add FastAPI manager API compatibility baseline
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
APP_ENVIRONMENT=development
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=8002
|
||||
APP_CONTEXT_PATH=/xiaozhi
|
||||
APP_TIMEZONE=Asia/Shanghai
|
||||
APP_DATABASE_URL=mysql+asyncmy://xiaozhi:replace-me@mysql:3306/xiaozhi_esp32_server?charset=utf8mb4
|
||||
APP_REDIS_URL=redis://redis:6379/0
|
||||
# Local default; the container image overrides this with /data/uploads.
|
||||
APP_UPLOAD_DIR=./uploadfile
|
||||
# Docker Compose source: use a named volume by default, or set an existing
|
||||
# Java uploadfile host path while the implementations coexist.
|
||||
MANAGER_API_UPLOAD_SOURCE=manager-api-uploads
|
||||
APP_JAVA_RESOURCES_DIR=/opt/xiaozhi/java-resources
|
||||
APP_EXTERNAL_REQUEST_TIMEOUT_SECONDS=10
|
||||
APP_TRUSTED_PROXY_COUNT=1
|
||||
APP_LOG_LEVEL=INFO
|
||||
APP_GRACEFUL_SHUTDOWN_SECONDS=30
|
||||
# Test-only escape hatches. Leave both unset in deployments.
|
||||
# APP_SERVER_SECRET_OVERRIDE=
|
||||
# APP_ALLOW_START_WITHOUT_DEPENDENCIES=false
|
||||
Reference in New Issue
Block a user