mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -4,13 +4,13 @@ networks:
|
||||
external: true
|
||||
services:
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning-immich-machine-learning
|
||||
container_name: immich-machine-learning
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.0.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
# 数据持久化路径 [必填]
|
||||
IMMICH_ROOT_PATH=/home/immich-machine-learning
|
||||
|
||||
# API 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=2283
|
||||
|
||||
# 硬件驱动路径 [必填]
|
||||
IMMICH_DRIVE_PATH=/dev/dri
|
||||
|
||||
# 时区 [必填]
|
||||
TZ=Asia/Shanghai
|
||||
|
||||
# 机器学习 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__CLIP=XLM-Roberta-Large-Vit-B-16Plus
|
||||
|
||||
# 人脸识别 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION=buffalo_l
|
||||
|
||||
# Hugging Face 服务地址
|
||||
HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name: immich-machine-learning
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning-immich-machine-learning
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.136.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3003
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/cache:/cache
|
||||
@@ -4,36 +4,13 @@ networks:
|
||||
external: true
|
||||
services:
|
||||
immich-pg14-vectors:
|
||||
command:
|
||||
- postgres
|
||||
- -c
|
||||
- shared_preload_libraries=vectors.so
|
||||
- -c
|
||||
- search_path="$$user", public, vectors
|
||||
- -c
|
||||
- logging_collector=on
|
||||
- -c
|
||||
- max_wal_size=2GB
|
||||
- -c
|
||||
- shared_buffers=512MB
|
||||
- -c
|
||||
- wal_compression=on
|
||||
container_name: pg14-vectors-immich-no-machine
|
||||
environment:
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME:-postgres}
|
||||
healthcheck:
|
||||
interval: 5m
|
||||
start_interval: 30s
|
||||
start_period: 5m
|
||||
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
|| exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
--tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures),
|
||||
0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [
|
||||
"$$Chksum" = '0' ] || exit 1
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -44,7 +21,7 @@ services:
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
|
||||
immich-server:
|
||||
container_name: immich-server-immich-no-machine
|
||||
container_name: immich-no-machine
|
||||
depends_on:
|
||||
- immich-pg14-vectors
|
||||
devices:
|
||||
@@ -52,7 +29,7 @@ services:
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.132.3
|
||||
image: ghcr.io/immich-app/immich-server:v2.0.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -61,5 +38,5 @@ services:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/data
|
||||
- /etc/localtime:/etc/localtime
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Redis 服务 (前置检查) [必填]
|
||||
PANEL_REDIS_TYPE=redis
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
IMMICH_ROOT_PATH=/home/immich-app
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=2283
|
||||
|
||||
# 数据库连接密码 [必填]
|
||||
DB_PASSWORD=
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
PANEL_APP_PORT_DB=5432
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
DB_HOSTNAME=immich-pg14-vectors
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
DB_USERNAME=postgres
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
DB_DATABASE_NAME=immich
|
||||
|
||||
# Redis 主机 [必填]
|
||||
REDIS_HOSTNAME=127.0.0.1
|
||||
|
||||
# Redis 端口 [必填]
|
||||
REDIS_PORT=6379
|
||||
|
||||
# Redis 索引 [必填]
|
||||
REDIS_DBINDEX=0
|
||||
|
||||
# Redis 用户名
|
||||
REDIS_USERNAME=
|
||||
|
||||
# Redis 密码
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# 是否跳过目录检查
|
||||
IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
name: immich
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
immich-pg14-vectors:
|
||||
container_name: pg14-vectors-immich-no-machine
|
||||
environment:
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME:-postgres}
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_DB:-5432}:5432
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
|
||||
immich-server:
|
||||
container_name: immich-server-immich-no-machine
|
||||
depends_on:
|
||||
- immich-pg14-vectors
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.136.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -4,13 +4,13 @@ networks:
|
||||
external: true
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich-server-immich-server
|
||||
container_name: immich-server
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.132.3
|
||||
image: ghcr.io/immich-app/immich-server:v2.0.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -19,5 +19,5 @@ services:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/data
|
||||
- /etc/localtime:/etc/localtime
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Redis 服务 (前置检查) [必填]
|
||||
PANEL_REDIS_TYPE=redis
|
||||
|
||||
# Postgres 服务 (前置检查) [必填]
|
||||
PANEL_POSTGRES_TYPE=postgresql
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
IMMICH_ROOT_PATH=/home/immich-app
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=2283
|
||||
|
||||
# 时区 [必填]
|
||||
TZ=Asia/Shanghai
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
DB_HOSTNAME=127.0.0.1
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
DB_PORT=5432
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
DB_USERNAME=postgres
|
||||
|
||||
# 数据库 密码 [必填]
|
||||
DB_PASSWORD=
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
DB_DATABASE_NAME=immich
|
||||
|
||||
# Redis 主机 [必填]
|
||||
REDIS_HOSTNAME=127.0.0.1
|
||||
|
||||
# Redis 端口 [必填]
|
||||
REDIS_PORT=6379
|
||||
|
||||
# Redis 索引 [必填]
|
||||
REDIS_DBINDEX=0
|
||||
|
||||
# Redis 用户名
|
||||
REDIS_USERNAME=
|
||||
|
||||
# Redis 密码
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# 是否跳过目录检查
|
||||
IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
name: immich-server
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich-server-immich-server
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.136.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -4,13 +4,13 @@ networks:
|
||||
external: true
|
||||
services:
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning-immich
|
||||
container_name: machine-learning-immich
|
||||
devices: &id001
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.0.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -21,36 +21,13 @@ services:
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/cache:/cache
|
||||
immich-pg14-vectors:
|
||||
command:
|
||||
- postgres
|
||||
- -c
|
||||
- shared_preload_libraries=vectors.so
|
||||
- -c
|
||||
- search_path="$$user", public, vectors
|
||||
- -c
|
||||
- logging_collector=on
|
||||
- -c
|
||||
- max_wal_size=2GB
|
||||
- -c
|
||||
- shared_buffers=512MB
|
||||
- -c
|
||||
- wal_compression=on
|
||||
container_name: pg14-vectors-immich
|
||||
environment:
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME:-postgres}
|
||||
healthcheck:
|
||||
interval: 5m
|
||||
start_interval: 30s
|
||||
start_period: 5m
|
||||
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
|| exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
--tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures),
|
||||
0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [
|
||||
"$$Chksum" = '0' ] || exit 1
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -61,14 +38,14 @@ services:
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
|
||||
immich-server:
|
||||
container_name: immich-server-immich
|
||||
container_name: immich
|
||||
depends_on:
|
||||
- immich-pg14-vectors
|
||||
devices: *id001
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.132.3
|
||||
image: ghcr.io/immich-app/immich-server:v2.0.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -77,5 +54,5 @@ services:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/data
|
||||
- /etc/localtime:/etc/localtime
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Redis 服务 (前置检查) [必填]
|
||||
PANEL_REDIS_TYPE=redis
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
IMMICH_ROOT_PATH=/home/immich-app
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=2283
|
||||
|
||||
# 机器学习端口 [必填]
|
||||
PANEL_APP_PORT_MACHINE_LEARNING=3003
|
||||
|
||||
# 数据库连接密码 [必填]
|
||||
DB_PASSWORD=
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
PANEL_APP_PORT_DB=5432
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
DB_HOSTNAME=immich-pg14-vectors
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
DB_USERNAME=postgres
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
DB_DATABASE_NAME=immich
|
||||
|
||||
# Redis 主机 [必填]
|
||||
REDIS_HOSTNAME=127.0.0.1
|
||||
|
||||
# Redis 端口 [必填]
|
||||
REDIS_PORT=6379
|
||||
|
||||
# Redis 索引 [必填]
|
||||
REDIS_DBINDEX=0
|
||||
|
||||
# Redis 用户名
|
||||
REDIS_USERNAME=
|
||||
|
||||
# Redis 密码
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# 机器学习 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__CLIP=XLM-Roberta-Large-Vit-B-16Plus
|
||||
|
||||
# 人脸识别 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION=buffalo_l
|
||||
|
||||
# Hugging Face 服务地址
|
||||
HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
# 是否跳过目录检查
|
||||
IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
name: immich
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning-immich
|
||||
devices: &id001
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.136.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_MACHINE_LEARNING}:3003
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/cache:/cache
|
||||
immich-pg14-vectors:
|
||||
container_name: pg14-vectors-immich
|
||||
environment:
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME:-postgres}
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.1-pgvectors0.2.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_DB:-5432}:5432
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
|
||||
immich-server:
|
||||
container_name: immich-server-immich
|
||||
depends_on:
|
||||
- immich-pg14-vectors
|
||||
devices: *id001
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.136.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -19,7 +19,7 @@ services:
|
||||
- NEXT_PUBLIC_CustomLogo=https://nezha-cf.buycoffee.top/apple-touch-icon.png
|
||||
- NEXT_PUBLIC_CustomTitle=NezhaDash
|
||||
- NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
|
||||
image: hamster1963/nezha-dash:v2.11.1
|
||||
image: hamster1963/nezha-dash:v2.11.2
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
+22
-13
@@ -4,30 +4,39 @@ NEZHA_ROOT_PATH=/home/nezha
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=8008
|
||||
|
||||
# gRPC 端口 [必填]
|
||||
PANEL_APP_PORT_GRPC=5555
|
||||
# 系统语言 [必填]
|
||||
NZ_LANGUAGE=zh_CN
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
NZ_SITE_NAME=哪吒监控
|
||||
|
||||
# Agent是否启用TLS [必填]
|
||||
NZ_TLS=false
|
||||
|
||||
# OAuth 服务商 [必填]
|
||||
OAUTH2_TYPE=github
|
||||
NZ_OAUTH2_TYPE=github
|
||||
|
||||
# 管理员账号ID [必填]
|
||||
OAUTH2_ADMIN=
|
||||
NZ_OAUTH2_ADMIN=
|
||||
|
||||
# OAuth 客户端 ID [必填]
|
||||
OAUTH2_CLIENTID=
|
||||
NZ_OAUTH2_CLIENTID=
|
||||
|
||||
# OAuth 客户端 Secret [必填]
|
||||
OAUTH2_CLIENTSECRET=
|
||||
NZ_OAUTH2_CLIENTSECRET=
|
||||
|
||||
# OAuth 端点 (可选)
|
||||
OAUTH2_ENDPOINT=
|
||||
NZ_OAUTH2_ENDPOINT=
|
||||
|
||||
# 网站标题 [必填]
|
||||
NZ_SITE_TITLE=哪吒监控
|
||||
# 登录有效期 (小时) [必填]
|
||||
NZ_JWT_TIMEOUT=1
|
||||
|
||||
# Cookie 名称 (默认) [必填]
|
||||
NZ_COOKIE_NAME=nezha-dashboard
|
||||
# 强制认证 [必填]
|
||||
NZ_FORCE_AUTH=false
|
||||
|
||||
# 网站主题 (默认) [必填]
|
||||
NZ_THEME=default
|
||||
# 是否脱敏通知IP [必填]
|
||||
NZ_ENABLE_PLAIN_IP_IN_NOTIFICATION=false
|
||||
|
||||
# IP 变更通知 [必填]
|
||||
NZ_ENABLE_IP_CHANGE_NOTIFICATION=false
|
||||
|
||||
|
||||
@@ -1,33 +1,6 @@
|
||||
debug: false
|
||||
httpport: 80
|
||||
language: zh-CN
|
||||
grpcport: nz_grpc_port
|
||||
oauth2:
|
||||
type: "nz_oauth2_type"
|
||||
admin: "nz_admin_logins"
|
||||
clientid: "nz_github_oauth_client_id"
|
||||
clientsecret: "nz_github_oauth_client_secret"
|
||||
endpoint: ""
|
||||
site:
|
||||
brand: "nz_site_title"
|
||||
cookiename: "nezha-dashboard"
|
||||
theme: "default"
|
||||
ddns:
|
||||
enable: false
|
||||
provider: "webhook"
|
||||
accessid: ""
|
||||
accesssecret: ""
|
||||
webhookmethod: ""
|
||||
webhookurl: ""
|
||||
webhookrequestbody: ""
|
||||
webhookheaders: ""
|
||||
maxretries: 3
|
||||
profiles:
|
||||
example:
|
||||
provider: ""
|
||||
accessid: ""
|
||||
accesssecret: ""
|
||||
webhookmethod: ""
|
||||
webhookurl: ""
|
||||
webhookrequestbody: ""
|
||||
webhookheaders: ""
|
||||
listen_port: 8008
|
||||
language: zh_CN
|
||||
site_name: "nz_site_title"
|
||||
install_host: 127.0.0.1:8008
|
||||
tls: false
|
||||
|
||||
@@ -2,19 +2,18 @@ networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
nezha-dashboard:
|
||||
nezha:
|
||||
container_name: nezha
|
||||
image: ghcr.io/naiba/nezha-dashboard:v0.20.13
|
||||
environment:
|
||||
- NZ_LISTEN_PORT=${PANEL_APP_PORT_HTTP}
|
||||
- NZ_LOCATION=Asia/Shanghai
|
||||
image: ghcr.io/nezhahq/nezha:v1.14.5
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_GRPC}:${PANEL_APP_PORT_GRPC}
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
restart: always
|
||||
volumes:
|
||||
- ${NEZHA_ROOT_PATH}/data:/dashboard/data
|
||||
- ${NEZHA_ROOT_PATH}/static-custom/static:/dashboard/resource/static/custom
|
||||
- ${NEZHA_ROOT_PATH}/theme-custom/template:/dashboard/resource/template/theme-custom
|
||||
- ${NEZHA_ROOT_PATH}/dashboard-custom/template:/dashboard/resource/template/dashboard-custom
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# 数据持久化路径 [必填]
|
||||
NEZHA_ROOT_PATH=/home/nezha
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=8008
|
||||
|
||||
# gRPC 端口 [必填]
|
||||
PANEL_APP_PORT_GRPC=5555
|
||||
|
||||
# OAuth 服务商 [必填]
|
||||
OAUTH2_TYPE=github
|
||||
|
||||
# 管理员账号ID [必填]
|
||||
OAUTH2_ADMIN=
|
||||
|
||||
# OAuth 客户端 ID [必填]
|
||||
OAUTH2_CLIENTID=
|
||||
|
||||
# OAuth 客户端 Secret [必填]
|
||||
OAUTH2_CLIENTSECRET=
|
||||
|
||||
# OAuth 端点 (可选)
|
||||
OAUTH2_ENDPOINT=
|
||||
|
||||
# 网站标题 [必填]
|
||||
NZ_SITE_TITLE=哪吒监控
|
||||
|
||||
# Cookie 名称 (默认) [必填]
|
||||
NZ_COOKIE_NAME=nezha-dashboard
|
||||
|
||||
# 网站主题 (默认) [必填]
|
||||
NZ_THEME=default
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
debug: false
|
||||
httpport: 80
|
||||
language: zh-CN
|
||||
grpcport: nz_grpc_port
|
||||
oauth2:
|
||||
type: "nz_oauth2_type"
|
||||
admin: "nz_admin_logins"
|
||||
clientid: "nz_github_oauth_client_id"
|
||||
clientsecret: "nz_github_oauth_client_secret"
|
||||
endpoint: ""
|
||||
site:
|
||||
brand: "nz_site_title"
|
||||
cookiename: "nezha-dashboard"
|
||||
theme: "default"
|
||||
ddns:
|
||||
enable: false
|
||||
provider: "webhook"
|
||||
accessid: ""
|
||||
accesssecret: ""
|
||||
webhookmethod: ""
|
||||
webhookurl: ""
|
||||
webhookrequestbody: ""
|
||||
webhookheaders: ""
|
||||
maxretries: 3
|
||||
profiles:
|
||||
example:
|
||||
provider: ""
|
||||
accessid: ""
|
||||
accesssecret: ""
|
||||
webhookmethod: ""
|
||||
webhookurl: ""
|
||||
webhookrequestbody: ""
|
||||
webhookheaders: ""
|
||||
@@ -0,0 +1,20 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
nezha-dashboard:
|
||||
container_name: nezha
|
||||
image: ghcr.io/naiba/nezha-dashboard:v0.20.13
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_GRPC}:${PANEL_APP_PORT_GRPC}
|
||||
restart: always
|
||||
volumes:
|
||||
- ${NEZHA_ROOT_PATH}/data:/dashboard/data
|
||||
- ${NEZHA_ROOT_PATH}/static-custom/static:/dashboard/resource/static/custom
|
||||
- ${NEZHA_ROOT_PATH}/theme-custom/template:/dashboard/resource/template/theme-custom
|
||||
- ${NEZHA_ROOT_PATH}/dashboard-custom/template:/dashboard/resource/template/dashboard-custom
|
||||
@@ -1,42 +0,0 @@
|
||||
# 数据持久化路径 [必填]
|
||||
NEZHA_ROOT_PATH=/home/nezha
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=8008
|
||||
|
||||
# 系统语言 [必填]
|
||||
NZ_LANGUAGE=zh_CN
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
NZ_SITE_NAME=哪吒监控
|
||||
|
||||
# Agent是否启用TLS [必填]
|
||||
NZ_TLS=false
|
||||
|
||||
# OAuth 服务商 [必填]
|
||||
NZ_OAUTH2_TYPE=github
|
||||
|
||||
# 管理员账号ID [必填]
|
||||
NZ_OAUTH2_ADMIN=
|
||||
|
||||
# OAuth 客户端 ID [必填]
|
||||
NZ_OAUTH2_CLIENTID=
|
||||
|
||||
# OAuth 客户端 Secret [必填]
|
||||
NZ_OAUTH2_CLIENTSECRET=
|
||||
|
||||
# OAuth 端点 (可选)
|
||||
NZ_OAUTH2_ENDPOINT=
|
||||
|
||||
# 登录有效期 (小时) [必填]
|
||||
NZ_JWT_TIMEOUT=1
|
||||
|
||||
# 强制认证 [必填]
|
||||
NZ_FORCE_AUTH=false
|
||||
|
||||
# 是否脱敏通知IP [必填]
|
||||
NZ_ENABLE_PLAIN_IP_IN_NOTIFICATION=false
|
||||
|
||||
# IP 变更通知 [必填]
|
||||
NZ_ENABLE_IP_CHANGE_NOTIFICATION=false
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
debug: false
|
||||
listen_port: 8008
|
||||
language: zh_CN
|
||||
site_name: "nz_site_title"
|
||||
install_host: 127.0.0.1:8008
|
||||
tls: false
|
||||
@@ -1,19 +0,0 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
nezha:
|
||||
container_name: nezha
|
||||
environment:
|
||||
- NZ_LISTEN_PORT=${PANEL_APP_PORT_HTTP}
|
||||
- NZ_LOCATION=Asia/Shanghai
|
||||
image: ghcr.io/nezhahq/nezha:v1.14.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
restart: always
|
||||
volumes:
|
||||
- ${NEZHA_ROOT_PATH}/data:/dashboard/data
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
Reference in New Issue
Block a user