Add healthcheck for sidekiq (#17365)

This commit is contained in:
Su Yang 2022-01-27 01:08:49 +08:00 committed by GitHub
parent 6505b39e5d
commit 10188c7db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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