Document Preview Service Upgrade
1. Image Pull
Pull the target version application image on the server based on the architecture (Offline Package Download).
- AMD64
- ARM64
docker pull nocoly/doc:2.0.0
docker pull nocoly/doc-arm64:-
2. Modify Configuration
Edit the configuration file /data/hap/script/docker-compose.yaml and update the version tag of the doc service image to the target version:
- AMD64
- ARM64
# Sample configuration snippet
image: nocoly/doc:2.0.0
# Sample configuration snippet
image: nocoly/doc-arm64:-
3. Restart Services
Execute the following script in the root directory of the manager to restart all services (if multiple services are upgraded simultaneously, you can execute this command once after modifying all configurations):
bash ./service.sh restartall
If you forget the file path of service.sh, click to view the search command
find / -path /proc -prune -o -name "service.sh" -print
Wait for the command execution to complete, and once all services are ready, the upgrade process is finished.