Created
November 7, 2022 22:37
-
-
Save kstrauser/6ca247db82f9e1746f2281caf6ddb36b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
[...] | |
sidekiq_1: | |
build: . | |
image: tootsuite/mastodon | |
restart: always | |
env_file: .env.production | |
command: bundle exec sidekiq -c 25 | |
volumes: | |
- /var/www/mastodon/system:/mastodon/public/system | |
healthcheck: | |
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] | |
cpu_shares: 512 | |
sidekiq_2: | |
build: . | |
image: tootsuite/mastodon | |
restart: always | |
env_file: .env.production | |
command: bundle exec sidekiq -c 25 -C /opt/mastodon/config/sidekiq-helper.yml | |
volumes: | |
- /var/www/mastodon/system:/mastodon/public/system | |
healthcheck: | |
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] | |
cpu_shares: 512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment