mirror of
https://github.com/FunnyWolf/Viper.git
synced 2026-10-18 13:40:38 +08:00
5439e18aa0
* Adjust English document. * fix image link error and remove font dom in mk
1.6 KiB
1.6 KiB
Update Version
Minor Version Update (e.g., updating from 1.2.1 to 1.2.2)
All
docker composecommands should be executed in the Viper installation directory.
- Delete the existing containers
cd /root/VIPER # Viper installation directory
docker compose down # Delete the existing containers
- Update the Docker images
docker compose pull
- Create and start the containers
docker compose up -d
- Visit https://vpsip:diyport to log in to the server. Username: root, Password: Custom password
The password can be viewed by running
cat /root/VIPER/docker-compose.ymlThe
diyportcan be viewed by runningcat /root/VIPER/nginxconfig/viper.conf
Major Version Update (e.g., updating from 1.2.6 to 1.3.0)
All
docker composecommands should be executed in the Viper installation directory.Higher versions of Viper are not compatible with the existing data of lower versions. Cross-version updates require clearing the existing data.
- Delete the existing containers
cd /root/VIPER # Viper installation directory
docker compose down
- Clear the existing data and custom modules
rm -f./db/*
rm -f./module/*
- Update the Docker images
docker compose pull
- Create and start the containers
docker compose up -d
- Visit https://vpsip:diyport to log in. Username: root, Password: Custom password
The password can be viewed by running
cat /root/VIPER/docker-compose.ymlThe
diyportcan be viewed by runningcat /root/VIPER/nginxconfig/viper.conf