-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
56 lines (47 loc) · 1.87 KB
/
config.example.yaml
File metadata and controls
56 lines (47 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# OpenMOSS 任务调度中间件 — 配置文件模板
# 复制此文件为 config.yaml 并修改配置
# Docker 部署时,容器会默认将工作目录挂载到 /workspace
# 项目名称
project:
name: "OpenMOSS"
# 管理员配置
admin:
password: "admin123" # 首次启动后自动替换为 MD5 加密
# Agent 注册
agent:
registration_token: "openclaw-register-2024" # Agent 自动注册令牌
allow_registration: true # Agent 自注册开关(false=关闭自注册,只能由管理员创建)
# 通知渠道(OpenMOSS 内置消息,Agent 通过 GET /config/notification 获取后自行发送)
notification:
enabled: false
# 目标渠道:格式为 渠道类型:目标ID
channels: []
# - "chat:oc_1f99abbba2bf0f8733377893d976ffa5" # 飞书群(把 Agent 拉进群/艾特一次即可获取 chat_id)
# - "user:ou_xxxxxxxxxxxxxxxxxxxxxxxxxxxx" # 飞书私聊(open_id)
# 触发通知的事件类型
events:
- task_completed # 子任务完成时通知
- review_rejected # 审查驳回(返工)时通知
- all_done # 整个任务所有子任务全部完成时通知
- patrol_alert # 巡查发现异常时通知
# 服务配置
server:
port: 6565
host: "0.0.0.0"
external_url: "" # 服务外网访问地址(Agent 对接用,如 https://moss.example.com)
# 数据库配置
database:
type: sqlite
path: "./data/tasks.db"
# 工作目录
workspace:
root: "/workspace"
# WebUI 配置
webui:
public_feed: false # 活动流展示页公开开关(true=任何人可访问)
feed_retention_days: 7 # 请求日志保留天数(超期自动清理)
auto_update: true # 启用 WebUI 自动更新(启动时如无前端也会自动拉取)
github_repo: "uluckyXH/OpenMOSS" # GitHub 仓库(用于下载 WebUI Release)
# 初始化标记(由 Setup Wizard 自动设置,请勿手动修改)
setup:
initialized: false