{"repo":"containrrr/shepherd","free":true,"listed":false,"github":"https://github.com/containrrr/shepherd","clone":"git clone https://github.com/containrrr/shepherd.git","description":"Docker swarm service for automatically updating your services whenever their image is refreshed","language":"Shell","stars":592,"topics":["docker","docker-swarm-mode","hacktoberfest","automation","docker-swarm","shell","updater"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Shepherd A Docker swarm service for automatically updating your services whenever their base image is refreshed. Usage Or with Docker Compose See the example docker-compose.yml and some more compose configs in the examples folder. Configuration Shepherd will try to update your services every 5 minutes by default. You can adjust this value using the SLEEP TIME variable. You can prevent services from being updated by appending them to the IGNORELIST SERVICES variable. This should be a space-separated list of service names. Alternatively you can specify a filter for the services you want updated using the FILTER SERVICES variable. This can be anything accepted by the filtering flag in docker service ls . You can set Shepherd to roll back a service to the previous version if the update fails by setting the ROLLBACK ON FAILURE variable. You can control additional parameters for the docker service update and docker service update --rollback calls using the variables UPDATE OPTIONS and ROLLBACK OPTIONS . If the docker service update takes too long then it will be killed after 5 minutes by default. You can adjust this value using the TIMEOUT variable. You can enable private registry authentication by setting the WITH REGISTRY AUTH variable. If you need to authenticate to a registry (for example in order to get around the Docker Hub rate limits), you can set the variable REGISTRY USER and store the password either in a docker secret named shepherd registry password or in the environme","default_branch":null,"files":null,"tree":[],"storefront":"/r/containrrr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/containrrr/shepherd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}