imetting/backend/.env.example

33 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# ==================== 数据库配置 ====================
# 供“直接运行 backend”或“./start-external.sh 外接 MySQL/Redis”使用
# 如果 backend 运行在 Docker 中,且数据库也在同一 Docker 网络,主机名应填服务名(如 mysql
# 如果是宿主机直接运行 backend再填写 127.0.0.1 或实际地址
DB_HOST=127.0.0.1
DB_USER=imeeting
DB_PASSWORD=change_this_password
DB_NAME=imeeting
DB_PORT=3306
# ==================== Redis配置 ====================
# 如果 backend 运行在 Docker 中,且 Redis 也在同一 Docker 网络,主机名应填服务名(如 redis
# 如果是宿主机直接运行 backend再填写 127.0.0.1 或实际地址
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=change_this_password
# ==================== API配置 ====================
API_HOST=0.0.0.0
API_PORT=8000
# ==================== 应用配置 ====================
# 直接运行 backend 时可在这里配置 BASE_URL
# Docker 容器部署时,优先使用仓库根目录 .env 中的 BASE_URL。
# 使用云端音频转录时,必须填写云端可以访问到的公网地址,且不要以 / 结尾。
# BASE_URL=https://your-domain.com
# ==================== 转录轮询配置 ====================
TRANSCRIPTION_POLL_INTERVAL=10
TRANSCRIPTION_MAX_WAIT_TIME=1800