65 lines
2.7 KiB
Bash
65 lines
2.7 KiB
Bash
# ========================
|
|
# EDIT BEFORE DEPLOYMENT
|
|
# ========================
|
|
# This file is loaded by start_backend.scheduler.sh through docker --env-file.
|
|
# Put server-specific values here. Do not configure Python mirrors only on the
|
|
# host shell; values in this file are what the container will receive.
|
|
|
|
# AI provider keys. Replace placeholders and rotate any test key before release.
|
|
DEEPSEEK_API_KEY=sk-9808fb2375534112ac275541aec14b9b
|
|
OPENAI_API_KEY=your-openai-api-key
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
|
|
TAVILY_API_KEY=your-tavily-api-key
|
|
SERPER_API_KEY=your-serper-api-key
|
|
|
|
# Auth and frontend access.
|
|
# AUTH_JWT_SECRET must stay stable across restarts, or existing logins expire.
|
|
# GATEWAY_CORS_ORIGINS must include the exact frontend origins, separated by commas.
|
|
AUTH_JWT_SECRET=i3_BiBK44sYHiFIkChhDs46y57ZewJKO3diQDw01anI
|
|
GATEWAY_CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,http://localhost:5183,http://localhost:5174,http://127.0.0.1:5174,http://localhost:4200
|
|
GATEWAY_CORS_ALLOW_ALL=0
|
|
GATEWAY_ENABLE_DOCS=true
|
|
GATEWAY_WORKERS=2
|
|
DEER_FLOW_AUTH_DISABLED=false
|
|
AUTH_TRUSTED_PROXIES=
|
|
|
|
# Scheduler dependency behavior.
|
|
# Keep SCHEDULER_INSTALL_DEPS=1 if croniter is not already baked into the image.
|
|
# Set the Python mirror below if the server cannot access public PyPI.
|
|
SCHEDULER_INSTALL_DEPS=1
|
|
SCHEDULER_PIP_PACKAGES=croniter==6.2.2
|
|
SCHEDULED_TASKS_ENABLED=true
|
|
|
|
# Element / Matrix delivery for scheduled task results.
|
|
# If disabled or not configured, scheduled tasks still run but no Element DM is sent.
|
|
ELEMENT_ENABLED=false
|
|
ELEMENT_HOMESERVER_URL=
|
|
ELEMENT_ACCESS_TOKEN=
|
|
ELEMENT_BOT_USERNAME=scheduled-bot
|
|
ELEMENT_BOT_PASSWORD=
|
|
ELEMENT_AUTO_REGISTER=false
|
|
ELEMENT_STATE_FILE=/app/backend/.deer-flow/element-bot-token
|
|
|
|
# Python private package index used by uv/pip inside the backend container and
|
|
# propagated into sandbox containers for agent-installed dependencies.
|
|
# Uncomment and set these to your internal mirror when public PyPI is blocked.
|
|
# UV_INDEX_URL=http://your-python-mirror/simple
|
|
# PIP_INDEX_URL=http://your-python-mirror/simple
|
|
# UV_TRUSTED_HOST=your-python-mirror
|
|
# PIP_TRUSTED_HOST=your-python-mirror
|
|
# PIP_EXTRA_INDEX_URL=
|
|
# UV_EXTRA_INDEX_URL=
|
|
# HTTP_PROXY=
|
|
# HTTPS_PROXY=
|
|
# NO_PROXY=
|
|
|
|
# Alternative generic names also supported by the startup script.
|
|
# PYTHON_PACKAGE_INDEX_URL=http://your-python-mirror/simple
|
|
# PYTHON_EXTRA_INDEX_URL=
|
|
# PYTHON_TRUSTED_HOST=your-python-mirror
|
|
MYSQL_DATABASE_URL=mysql+asyncmy://deerflow:deerflow123@192.168.0.123:3306/deerflow?charset=utf8mb4
|
|
DEER_FLOW_NOTEBOOK_API_BASE=http://127.0.0.1:8003
|
|
# 圆桌后台作业网关:inprocess=进程内驱动真模型;simulated=模拟(默认)
|
|
ROUNDTABLE_JOB_GATEWAY=inprocess
|