Update app version [skip ci]
This commit is contained in:
3
apps/nezha-dashboard/0.20.13/.env.sample
Normal file
3
apps/nezha-dashboard/0.20.13/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="nezha-dashboard"
|
||||
PANEL_APP_PORT_GRPC=5555
|
||||
PANEL_APP_PORT_HTTP=40308
|
||||
14
apps/nezha-dashboard/0.20.13/config.yaml
Normal file
14
apps/nezha-dashboard/0.20.13/config.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
debug: false
|
||||
httpport: 80 # HTTP 端口,请勿修改
|
||||
nz_language: zh-CN # 语言,zh-CN/zh-TW/en-US/es-ES
|
||||
grpcport: 5555 # gRPC 端口,请勿修改
|
||||
oauth2: # Oauth2 登录接入,查看 https://nezha.wiki/guide/dashboard.html
|
||||
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" # 主题,default/daynight/mdui/hotaru/angel-kanade/server-status
|
||||
18
apps/nezha-dashboard/0.20.13/data.yml
Normal file
18
apps/nezha-dashboard/0.20.13/data.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40308"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "5555"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_GRPC
|
||||
labelEn: GRPC Port
|
||||
labelZh: GRPC 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
19
apps/nezha-dashboard/0.20.13/docker-compose.yml
Normal file
19
apps/nezha-dashboard/0.20.13/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
nezha-dashboard:
|
||||
image: "ghcr.io/naiba/nezha-dashboard:v0.20.13"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/dashboard/data
|
||||
- ./config.yaml:/dashboard/data/config.yaml
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_GRPC}:5555
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user