docs(tailscale): 更新数据目录路径和说明

将数据目录从 `./data/var/lib` 改为 `./data/state` 并更新挂载路径至 `/var/lib/tailscale`
添加关于目录权限的重要提示说明
This commit is contained in:
arch3rPro
2026-04-24 13:26:35 +08:00
parent ce660b2674
commit 01872b80dc
4 changed files with 10 additions and 6 deletions

View File

@@ -82,7 +82,9 @@ If you want to use the auth key only on first startup and use existing state on
### Data Directory
Application data is stored in `./data/var/lib` directory, containing Tailscale state information. This directory is automatically mounted to `/var/lib` in the container.
Application data is stored in `./data/state` directory, containing Tailscale state information (authentication state, configuration, etc.). This directory is mounted to `/var/lib/tailscale` in the container.
**Important**: Ensure the `data/state` directory has correct read/write permissions, otherwise state cannot be persisted and re-authentication will be required on every restart.
## Environment Variables