docs(upgrade): note pre-2026-04-19 compose upgrade command

This commit is contained in:
xboard
2026-04-23 12:16:06 +08:00
parent ac6d8f01ba
commit 5462b7036a
3 changed files with 17 additions and 0 deletions
+7
View File
@@ -64,6 +64,13 @@ cd Xboard
docker compose pull && docker compose up -d
```
The container always runs `php artisan xboard:update` (migrate + plugin install + version cache + theme refresh) on boot, so no extra command is required.
> **Using a `compose.yaml` from before 2026-04-19?** That template did not auto-run `xboard:update` on container start, so use the following command to upgrade instead:
> ```bash
> docker compose pull && docker compose run -it --rm web php artisan xboard:update && docker compose up -d
> ```
### 4. Version Rollback
1. Modify the version number in `docker-compose.yaml` to the version you want to roll back to