Skip to main content

Document Preview Extension Service Upgrade

1. Image Pull​

Pull the target version of the microservice application image on the server (Offline Package Download).

docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-ldoc:2.0.2

2. Edit Configuration​

Edit the configuration file /data/mingdao/script/docker-compose.yaml and update the ldoc service's image version tag to the target version:

# Example configuration snippet
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-ldoc:2.0.2

3. Restart Service​

Execute the script in the manager's root directory to restart the service (if upgrading multiple services simultaneously, you can perform all configuration modifications first and then execute the script once):

bash ./service.sh restartall
If you forget the path to the service.sh file, click to view the search command
find / -path /proc -prune -o -name "service.sh" -print

Wait for the command to complete. Once all services are ready, the upgrade operation will be complete.