After running the following script, the website can be accessed normally,
systemctl restart docker
docker-compose down
docker-compose up -d
but there will be an error message for a while, do I need a scheduled task, check if redis is not running, then run the script to restart docker?