Update README with TrueNAS configuration guidance
Add note for TrueNAS users regarding ephemeral host path.
This commit is contained in:
parent
1f2225d326
commit
da3f88f37d
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue