📝 Add TrueNAS Hosting section to README (#16697)

Added TrueNAS hosting section with deployment instructions.
This commit is contained in:
KP-Repos 2025-12-25 06:10:02 -08:00 committed by GitHub
parent 8520b02df5
commit 8f43458636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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).