Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2026-04-21 07:58:33 +00:00
parent fb11d0e69c
commit 4a67f66db9
7 changed files with 0 additions and 0 deletions
+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
+23
View File
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
siyuan:
image: b3log/siyuan:v3.6.5
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
command: [ '--workspace=/siyuan/workspace/', '--accessAuthCode=${AuthCode}' ]
user: 1000:1000
ports:
- ${PANEL_APP_PORT_HTTP}:6806
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
volumes:
- ${SIYUAN_ROOT_PATH}/workspace:/siyuan/workspace
environment:
- RUN_IN_CONTAINER=true
+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