docs(upgrade): note pre-2026-04-19 compose upgrade command
This commit is contained in:
@@ -116,6 +116,11 @@ 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.
|
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
|
||||||
|
> ```
|
||||||
|
|
||||||
## Important Notes
|
## Important Notes
|
||||||
|
|
||||||
- ⚠️ Ensure firewall is enabled to prevent port 7001 exposure to public
|
- ⚠️ Ensure firewall is enabled to prevent port 7001 exposure to public
|
||||||
|
|||||||
@@ -109,6 +109,11 @@ 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.
|
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
|
||||||
|
> ```
|
||||||
|
|
||||||
### Routine Maintenance
|
### Routine Maintenance
|
||||||
- Regular log checking: `docker compose logs`
|
- Regular log checking: `docker compose logs`
|
||||||
- Monitor system resource usage
|
- Monitor system resource usage
|
||||||
|
|||||||
@@ -64,6 +64,13 @@ cd Xboard
|
|||||||
docker compose pull && docker compose up -d
|
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
|
### 4. Version Rollback
|
||||||
|
|
||||||
1. Modify the version number in `docker-compose.yaml` to the version you want to roll back to
|
1. Modify the version number in `docker-compose.yaml` to the version you want to roll back to
|
||||||
|
|||||||
Reference in New Issue
Block a user