Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-09-02 09:23:09 +00:00
parent 2cc452e108
commit 7d1c2005f3
16 changed files with 2 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
# 数据持久化路径 [必填]
SIYUAN_ROOT_PATH=/home/siyuan
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=6806
# 授权码 [必填]
AuthCode=
+25
View File
@@ -0,0 +1,25 @@
additionalProperties:
formFields:
- default: "/home/siyuan"
edit: true
envKey: SIYUAN_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 6806
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: AuthCode
labelZh: 授权码
labelEn: Access Auth Code
required: true
rule: paramComplexity
type: password
+24
View File
@@ -0,0 +1,24 @@
networks:
1panel-network:
external: true
services:
siyuan:
command:
- --workspace=/siyuan/workspace/
- --accessAuthCode=${AuthCode}
container_name: siyuan
env_file:
- ./envs/global.env
environment:
- RUN_IN_CONTAINER=true
image: b3log/siyuan:v3.3.1
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6806
restart: always
user: 1000:1000
volumes:
- ${SIYUAN_ROOT_PATH}/workspace:/siyuan/workspace
+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
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
if [ -f .env ]; then
source .env
if [ ! -d $SIYUAN_ROOT_PATH ]; then
mkdir -p $SIYUAN_ROOT_PATH
fi
if [ ! -d $SIYUAN_ROOT_PATH/workspace ]; then
mkdir -p $SIYUAN_ROOT_PATH/workspace
fi
chown -R 1000:1000 $SIYUAN_ROOT_PATH
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi