Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-11-22 06:26:22 +00:00
parent 3b5513a49c
commit 8284a8d161
5 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.1.13
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:
- /etc/1panel/envs/global.env
volumes:
- ${SIYUAN_ROOT_PATH}/workspace:/siyuan/workspace
environment:
- RUN_IN_CONTAINER=true
+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