Created
July 24, 2023 22:18
-
-
Save y8/9707988784aa62c9d112fcd9814719fc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sidekiq: | |
image: tootsuite/mastodon:latest | |
restart: always | |
env_file: /opt/mastodon/.env.production | |
environment: | |
- DB_POOL=16 | |
command: bundle exec sidekiq -c 16 -q pull | |
depends_on: | |
- db | |
- redis | |
networks: | |
- external_network | |
- internal_network | |
volumes: | |
- /opt/mastodon/web/public/system:/mastodon/public/system | |
healthcheck: | |
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] | |
sidekiq-ingress: | |
image: tootsuite/mastodon:latest | |
restart: always | |
env_file: /opt/mastodon/.env.production | |
environment: | |
- DB_POOL=24 | |
command: bundle exec sidekiq -c 24 -q default -q ingress -q scheduler -q mailers -q push | |
depends_on: | |
- db | |
- redis | |
networks: | |
- external_network | |
- internal_network | |
volumes: | |
- /opt/mastodon/web/public/system:/mastodon/public/system | |
healthcheck: | |
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment