From: Su Yang Date: Wed, 26 Jan 2022 17:08:49 +0000 (+0800) Subject: Add healthcheck for sidekiq (#17365) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=10188c7db77cd90382d8c7476f0c3f97f92fc4be;p=mastodon.git Add healthcheck for sidekiq (#17365) --- diff --git a/docker-compose.yml b/docker-compose.yml index c1c4e5ac7..01fe320a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -94,6 +94,9 @@ services: - internal_network volumes: - ./public/system:/mastodon/public/system + healthcheck: + test: ["CMD-SHELL", "ps aux | grep '[s]idekiq\ 6' || false"] + ## Uncomment to enable federation with tor instances along with adding the following ENV variables ## http_proxy=http://privoxy:8118 ## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true