Files
masto-ansible/roles/mastodon/templates/docker-compose.sidekiq-pushpull.yml.j2
2022-12-21 22:30:01 -08:00

20 lines
498 B
Django/Jinja

sidekiq-pushpull:
image: tootsuite/mastodon:{{ MASTODON_VERSION }}
restart: always
env_file: .env.production
command: bundle exec sidekiq -q push -q pull -c 5
depends_on:
- pgbouncer
networks:
- external_network
- internal_network
volumes:
- ./public/system:/mastodon/public/system
- ./config:/opt/mastodon/config
environment:
- 'DB_POOL=25'
healthcheck:
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]