Skip to content

Upgrade Guide

Docker Compose Deployment

One-Click Update

To upgrade using Docker Compose, run the following command in the project root directory:

bash
bash upgrade.sh

If prompted for environment variable updates, manually compare and update .env based on .example.env.

Manual Deployment

Frontend Upgrade

  1. Download the latest frontend source code from the repository.
  2. Extract and overwrite the existing files in the website root directory.
  3. Run the following commands:
bash
php composer.phar upgrade
php think migrate:run

Backend Upgrade

Go to the directory where the docker-compose.yml file is located and execute the following commands:

bash
docker compose pull
docker compose down
docker compose up -d