sidekiq1:
restart: always
build: .
image: gargron/mastodon
env_file: .env.production
command: bundle exec sidekiq -c 5 -q default
depends_on:
- db
- redis
volumes:
- ./public/system:/mastodon/public/system
sidekiq2:
restart: always
build: .
image: gargron/mastodon
env_file: .env.production
command: bundle exec sidekiq -c 5 -q mailers
depends_on:
- db
- redis
volumes:
- ./public/system:/mastodon/public/system
sidekiq3:
restart: always
build: .
image: gargron/mastodon
env_file: .env.production
command: bundle exec sidekiq -c 5 -q pull
depends_on:
- db
- redis
volumes:
- ./public/system:/mastodon/public/system
sidekiq4:
restart: always
build: .
image: gargron/mastodon
env_file: .env.production
command: bundle exec sidekiq -c 5 -q push
depends_on:
- db
- redis
volumes:
- ./public/system:/mastodon/public/system