Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-07-08 03:51:27 +00:00
parent 6f606c2fd9
commit d78e47536b
82 changed files with 10 additions and 10 deletions
+9
View File
@@ -0,0 +1,9 @@
# 网络模式 [必填]
NETWORK_MODE=host
# 数据持久化路径 [必填]
NODEPASSDASH_ROOT_PATH=/home/nodepassdash
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=3000
+33
View File
@@ -0,0 +1,33 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/nodepassdash"
edit: true
envKey: NODEPASSDASH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 3000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
@@ -0,0 +1,22 @@
networks:
1panel-network:
external: true
services:
nodepassdash:
container_name: nodepassdash
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- PORT=${PANEL_APP_PORT_HTTP}
image: ghcr.io/nodepassproject/nodepassdash:2.1.4
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
restart: always
volumes:
- ${NODEPASSDASH_ROOT_PATH}/logs:/app/logs
- ${NODEPASSDASH_ROOT_PATH}/public:/app/public
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi