Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:57:19 +00:00
parent 373a561487
commit 275d5be658
1857 changed files with 56700 additions and 0 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.1.13
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
@@ -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
+54
View File
@@ -0,0 +1,54 @@
# 思源笔记
![思源笔记](https://file.lifebus.top/imgs/siyuan_b3log_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 简介
重构你的思维
**所见所得 双链块引**
**加密同步 隐私优先**
思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。
融合块、大纲和双向链接,重构你的思维。
## 反向代理
Nginx 配置 WebSocket 反向代理:
```shell
location /ws {
proxy_pass http://localhost:6806;
proxy_read_timeout 60s;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'Upgrade';
}
```
## 常见问题
### 数据存储
数据保存在工作空间文件夹下,在工作空间 data 文件夹下:
| 文件夹 | 说明 |
|-----------|-------------------|
| assets | 保存所有插入的资源文件 |
| emojis | 用于保存自定义图标表情图片 |
| snippets | 用于保存代码片段 |
| storage | 用于保存查询条件、布局和闪卡数据等 |
| templates | 用于保存模板片段 |
| widgets | 用于保存挂件 |
| plugins | 用于保存插件 |
| public | 用于保存公开的数据 |
> 其余文件夹就是用户自己创建的笔记本文件夹,笔记本文件夹下 .sy 后缀的文件用于保存文档数据,数据格式为 JSON
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+15
View File
@@ -0,0 +1,15 @@
additionalProperties:
key: siyuan
name: 思源笔记
tags:
- WebSite
- Storage
- Local
shortDescZh: 隐私优先的个人知识管理系统
shortDescEn: A privacy-first personal knowledge management system
type: website
crossVersionUpdate: true
limit: 0
website: https://b3log.org/
github: https://github.com/siyuan-note/siyuan/
document: https://b3log.org/siyuan/
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB