echo "------------------------------------------------" echo "- Docker Production Server Updater --- 1.0.0.0 -" echo "- Image : containrrr/watchtower / Production ---" echo "------------------------------------------------" docker stop prd-updater sleep 1 echo "------------------------------------------------" docker kill prd-updater sleep 1 echo "------------------------------------------------" docker rm prd-updater sleep 1 echo "------------------------------------------------" docker run -d \ --name prd-updater \ -e WATCHTOWER_CLEANUP=true \ -e WATCHTOWER_DEBUG=true \ -e WATCHTOWER_SCHEDULE="0 0 * * *" \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower:latest echo "------------------------------------------------" echo " Terminé. Service Actif en tant que prd-updater" echo "------------------------------------------------" echo ""