diff options
author | Su Yang <soulteary@users.noreply.github.com> | 2022-01-27 01:08:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 18:08:49 +0100 |
commit | 10188c7db77cd90382d8c7476f0c3f97f92fc4be (patch) | |
tree | d76bbae48410a412c717d9deb230d5a37c6320d4 /docker-compose.yml | |
parent | 6505b39e5d28abf938bd5f593eda2988d322887b (diff) |
Add healthcheck for sidekiq (#17365)
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |