synth.download/beeper/etc/containers/systemd/mastodon/mastodon-sidekiq.container

21 lines
572 B
Text
Raw Normal View History

2025-12-30 00:54:29 +07:00
[Unit]
Description=Mastodon Sidekiq Service
Requires=postgresql.service mastodon-dfdb.service
After=postgresql.service mastodon-dfdb.service
[Container]
Image=ghcr.io/synth-download/mastodon:nightly
EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env
Exec=bundle exec sidekiq
HealthCmd=ps aux | grep '[s]idekiq 7' || false
Network=mastodon.network
Network=postgresql.network
Volume=/var/containers/mastodon/public/system:/mastodon/public/system:z
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target