Files
xiaozhi-esp32-server/main/manager-api-fastapi/.env.example
T

21 lines
836 B
Bash

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