init v1 script (#8)

* init v1 script

* .

* complete dashboard script

* init agent script (posix)

* complete agent script (posix)
This commit is contained in:
UUBulb
2024-11-30 13:49:06 +08:00
committed by GitHub
parent 7eb6a3af01
commit 7132b6d671
22 changed files with 2422 additions and 2666 deletions

View File

@ -1,14 +1,4 @@
debug: false
httpport: 80
listenport: nz_port
language: nz_language
grpcport: nz_grpc_port
oauth2:
type: "nz_oauth2_type" #Oauth2 登录接入类型github/gitlab/jihulab/gitee/gitea
admin: "nz_admin_logins" #管理员列表,半角逗号隔开
clientid: "nz_github_oauth_client_id" # 在 https://github.com/settings/developers 创建,无需审核 Callback 填 http(s)://域名或IP/oauth2/callback
clientsecret: "nz_github_oauth_client_secret"
endpoint: "" # 如gitea自建需要设置
site:
brand: "nz_site_title"
cookiename: "nezha-dashboard" #浏览器 Cookie 字段名,可不改
theme: "default"
sitename: "nz_site_title"