ADK-gateway/.env.example
2026-08-04 17:20:08 +08:00

27 lines
570 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Redis 连接
REDIS_URL=redis://localhost:6379/0
# 网关服务
HOST=0.0.0.0
PORT=8000
# 后端运行目录(用于前端代理,预留)
BACKEND_ROOT=backend
# 心跳保活参数(秒)
HEARTBEAT_SCAN_INTERVAL=60
AGENT_HEARTBEAT_TIMEOUT=120
AGENT_HEARTBEAT_EXPECTED=10
# 调度参数(秒)
DISPATCH_INTERVAL=2
TASK_TIMEOUT_CHECK_INTERVAL=5
# 任务默认超时(秒)
DEFAULT_TASK_TIMEOUT=3600
# 任务数据保留 TTL默认 24 小时
TASK_TTL=86400
# 认证CLI 提交任务 / Agent 注册时必须携带的密码
GATEWAY_AUTH=change-me