Created
June 9, 2024 09:49
-
-
Save armamini/73faeb3ab0c6ddc876e982f60c4c8c2c to your computer and use it in GitHub Desktop.
Shepherd Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker service create --name shepherd \ | |
| --constraint "node.role==manager" \ | |
| --env SLEEP_TIME="2m" \ | |
| --env ROLLBACK_ON_FAILURE="true" \ | |
| --env IMAGE_AUTOCLEAN_LIMIT="5" \ | |
| --env UPDATE_OPTIONS="--update-delay=30s" \ | |
| --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,ro \ | |
| containrrr/shepherd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment