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

21 lines
544 B
Django/Jinja

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