{"repo":"shizunge/gantry","free":true,"listed":false,"github":"https://github.com/shizunge/gantry","clone":"git clone https://github.com/shizunge/gantry.git","description":"Docker service for automatically updating Docker swarm services whenever their image is updated.","language":"Shell","stars":90,"topics":["docker","docker-swarm","self-hosted","automation","shell","updater"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Gantry - Docker service updater Gantry automatically updates selected docker swarm services to newer images with the same tag. It is inspired by but enhanced Shepherd. Usage Gantry is released as a container image. You can create a docker service and run it on a swarm manager node. The examples folder contains example docker compose files, and more methods to launch Gantry , like at a specific time and via webhook. You can also run Gantry as a script directly on the host outside the container Gantry is written to work with busybox ash (v1.35+) as well as bash . Configurations You can configure the most behaviors of Gantry via environment variables. Common Environment Variable Default Description ----------------------- --------- ------------ GANTRY LOG FORMAT text Log format, plain text or structured. Valid values are text , json . GANTRY LOG LEVEL INFO Control how many logs generated by Gantry . Valid values are NONE , ERROR , WARN , INFO , DEBUG . GANTRY NODE NAME Add node name to logs. If not set, Gantry will use the host name of the Docker Swarm's manager, which is read from either the Docker daemon socket of current node or DOCKER HOST . GANTRY POST RUN CMD Command(s) to eval after each updating iteration. For example, you can use this to remove unused containers, networks and images and update standalone docker containers. GANTRY PRE RUN CMD Command(s) to eval before each updating iteration. For example, you can use this to remove unused containers, networks and images ","default_branch":null,"files":null,"tree":[],"storefront":"/r/shizunge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shizunge/gantry/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."}