Add healthcheck for sidekiq (#17365)

lolsob-rspec
Su Yang 2022-01-27 01:08:49 +08:00 committed by GitHub
parent b6364cf1ad
commit 43b5489c0f
1 changed files with 3 additions and 0 deletions

View File

@ -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