# Enviroment Variables
Environment Variable | Description | Example Value |
---|---|---|
SLEEP\_TIME | Time interval between update checks (default: 5 minutes) | 5m |
IGNORELIST\_SERVICES | Space-separated list of services to ignore during updates | shepherd my-other-service |
FILTER\_SERVICES | Filter for specifying services to update (matches docker service ls filter) | label=com.mydomain.autodeploy |
ROLLBACK\_ON\_FAILURE | Roll back a service to the previous version if an update fails | true |
UPDATE\_OPTIONS | Additional options for the docker service update command | --update-delay=30s |
TIMEOUT | Timeout for the docker service update process (default: 5 minutes) | 300 |
APPRISE\_SIDECAR\_URL | URL for the Apprise sidecar service to enable update notifications | apprise-microservice:5000 |
IMAGE\_AUTOCLEAN\_LIMIT | Enable old image autocleaning on service update | 5 |
RUN\_ONCE\_AND\_EXIT | Run Shepherd once and then exit | true |
WITH\_REGISTRY\_AUTH | Enable private registry authentication | true |
REGISTRY\_USER / REGISTRY\_PASSWORD | Credentials for private registry authentication | user123 / secret\_password |
REGISTRIES\_FILE | Path to the secret file containing multiple registry authentication entries | /var/run/secrets/shepherd-registries-auth |
WITH\_INSECURE\_REGISTRY | Enable connection to an insecure private registry | true |
WITH\_NO\_RESOLVE\_IMAGE | Prevent pulling images from the registry | true |
TZ | Set the timezone for log entries | Europe/Zurich |