Files
SenSu/config/framework/base_config.yaml.example

53 lines
1.1 KiB
Plaintext

framework:
debug: true
name: SenSu
branch: dev
repo_url: https://git.yeij.top/AskaEth/SenSu
logging:
debug_level_file: true
level: DEBUG
max_file_size: 10MB
max_log_files: 20
plugins:
auto_load: true
hot_reload: true
max_retry_count: 3
isolation: false
# 自动启动脚本 — 框架启动时后台拉起
auto_start_scripts:
enabled: true
scripts: []
# 示例:
# - name: cyrene_debug
# path: ~/cyrene_debug_server.py
# enabled: true
# args: []
# cwd: ~
# API Keys — 服务器间通信凭证 (在 WebUI 设置页管理)
# api_keys: []
# TUI配置
tui:
enabled: true
refresh_rate: 30
layout:
grid_rows: "4fr 5fr 1fr"
styles:
log_area: "border: solid green; overflow-y: auto;"
message_area: "border: solid yellow; overflow-y: auto;"
input_area: "border: solid red;"
log_display:
max_lines: 200
# 互联网服务配置
internet:
websocket:
host: "0.0.0.0"
port: 4240
http:
host: "0.0.0.0"
port: 4200
panel:
entrance:
path: "/SenSu"
username: "admin"
password: "CHANGE_ME" # 首次启动请修改!