console/console.yml

83 lines
2.3 KiB
YAML

path.configs: "config"
configs.auto_reload: true
env:
# INFINI_CONSOLE_ENDPOINT: "https://play.infinilabs.com:64443"
WECHAT_WEBHOOK_ENDPOINT: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=9f5989ae-e82f-4e39-b4f9-cab0638d0229"
SLACK_WEBHOOK_ENDPOINT: "https://hooks.slack.com/services/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"
DINGTALK_WEBHOOK_ENDPOINT: "https://oapi.dingtalk.com/robot/send?access_token=6a5c7c9454ff74537a6de493153b1da68860942d4b0aeb33797cb68b5111b077"
web:
enabled: true
embedding_api: true
auth:
enabled: true
websocket:
skip_host_verify: true
permitted_hosts: ["localhost:8000"]
ui:
enabled: true
path: .public
vfs: true
local: true
network:
binding: 0.0.0.0:9000
skip_occupied_port: true
gzip:
enabled: true
elastic:
enabled: true
remote_configs: true
health_check:
enabled: true
interval: 30s
availability_check:
enabled: true
interval: 60s
metadata_refresh:
enabled: true
interval: 30s
cluster_settings_check:
enabled: true
interval: 20s
store:
enabled: false
orm:
enabled: true
init_template: true
template_name: ".infini"
index_prefix: ".infini_"
metrics:
enabled: true
major_ip_pattern: "192.*"
queue: metrics
elasticsearch:
enabled: true
cluster_stats: true
node_stats: true
index_stats: true
badger:
value_log_max_entries: 1000000
value_log_file_size: 104857600
#security:
# oauth:
# enabled: true
# client_id: "850d747174ace88ce889"
# client_secret: "3d437b64e06371d6f62769320438d3dfc95a8d8e"
# default_roles: ["ReadonlyUI","DATA"] #default for all sso users if no specify roles was defined
# role_mapping:
# medcl: ["Administrator"]
# authorize_url: "https://github.com/login/oauth/authorize"
# token_url: "https://github.com/login/oauth/access_token"
# redirect_url: ""
# scopes: []
agent:
setup:
download_url: "https://release.infinilabs.com/agent/snapshot"
version: 0.5.0_NIGHTLY-151
ca_cert: "/Users/liugq/go/src/infini.sh/console/config/certs/ca.crt"
ca_key: "/Users/liugq/go/src/infini.sh/console/config/certs/ca.key"
script_endpoint: "http://localhost:9000"