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

22 lines
619 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
ContainerName=mastodon-sidekiq
2026-01-02 04:38:40 +07:00
EnvironmentFile=/etc/containers/systemd/mastodon/.env.secrets
EnvironmentFile=/etc/containers/systemd/mastodon/.env
2025-12-30 00:54:29 +07:00
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