mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 01:04:21 +01:00
📝 Add TrueNAS Hosting section to README (#16697)
Added TrueNAS hosting section with deployment instructions.
This commit is contained in:
parent
8520b02df5
commit
8f43458636
1 changed files with 37 additions and 0 deletions
37
README.md
37
README.md
|
|
@ -43,6 +43,7 @@
|
|||
* [Package Manager](#package-manager)
|
||||
* [Docker Hosting](#docker-hosting)
|
||||
* [Unraid Hosting](#unraid-hosting)
|
||||
* [TrueNAS Hosting](#TrueNAS-hosting)
|
||||
* [Insider Preview](#insider-preview)
|
||||
* [🏘️ Community](#️-community)
|
||||
* [🛠️ Development Guide](#️-development-guide)
|
||||
|
|
@ -313,6 +314,42 @@ Publish parameters: --accessAuthCode=******(Access authorization code)
|
|||
|
||||
</details>
|
||||
|
||||
### TrueNAS Hosting
|
||||
|
||||
<details>
|
||||
<summary>TrueNAS Deployment</summary>
|
||||
|
||||
Note: First run below commands in the TrueNAS Shell. please update Pool_1/Apps_Data/siyuan to match your dataset for Apps
|
||||
|
||||
`zfs create Pool_1/Apps_Data/siyuan`
|
||||
|
||||
`chown -R 1001:1002 /mnt/Pool_1/Apps_Data/siyuan`
|
||||
|
||||
`chmod 755 /mnt/Pool_1/Apps_Data/siyuan`
|
||||
|
||||
Navigate to Apps --> DiscoverApps --> More Options(on top right, besies Custom App) --> Install via YAML
|
||||
|
||||
Template reference:
|
||||
|
||||
```
|
||||
services:
|
||||
siyuan:
|
||||
image: b3log/siyuan
|
||||
container_name: siyuan
|
||||
command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=2222']
|
||||
ports:
|
||||
- 6806:6806
|
||||
volumes:
|
||||
- /mnt/Pool_1/Apps_Data/siyuan:/siyuan/workspace # Adjust to your dataset path
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=America/Los_Angeles # Replace with your timezone if needed
|
||||
- PUID=1001
|
||||
- PGID=1002
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Insider Preview
|
||||
|
||||
We release insider preview before major updates, please visit [https://github.com/siyuan-note/insider](https://github.com/siyuan-note/insider).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue