Skip to content

Upgrade Procedures

Docker Compose Deployment

One-Click Update

Run the following command in the project root directory to complete the upgrade:

bash
bash upgrade.sh

Backend-Only Update

bash
docker compose pull backend
docker compose up -d --force-recreate backend

Manual Deployment

Frontend Upgrade

Go to the "Source Download" section, download the latest frontend source code, extract it to the web root directory, and overwrite the existing files. Then run the following commands:

bash
php composer.phar upgrade
php think migrate:run

Backend Upgrade

In the directory containing the docker-compose.yml file, run:

bash
docker compose pull
docker compose up -d --force-recreate