Update README with TrueNAS configuration guidance

Add note for TrueNAS users regarding ephemeral host path.
This commit is contained in:
Nico 2026-01-29 22:18:29 +01:00 committed by GitHub
parent 1f2225d326
commit da3f88f37d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,15 @@ services:
> [!WARNING]
> Do not try to point `/var/lib/zerobyte` on a network share. You will face permission issues and strong performance degradation.
> [!NOTE]
> **TrueNAS Users:** The host path `/var/lib` is ephemeral on TrueNAS and will be reset during system upgrades. Instead of using `/var/lib/zerobyte:/var/lib/zerobyte`, create a dedicated ZFS dataset (e.g., `tank/docker/zerobyte`) and mount it instead:
> ```yaml
> volumes:
> - /etc/localtime:/etc/localtime:ro
> - /mnt/tank/docker/zerobyte:/var/lib/zerobyte
> ```
> This ensures your configuration, encryption keys, and database persist across TrueNAS upgrades.
Then, run the following command to start Zerobyte:
```bash