[Unit] Description=Mastodon Streaming Service Requires=postgresql.service mastodon-dfdb.service After=postgresql.service mastodon-dfdb.service [Container] ContainerName=mastodon-streaming Image=ghcr.io/synth-download/mastodon-streaming:nightly ContainerName=mastodon-streaming EnvironmentFile=/var/containers/mastodon/.env.secrets EnvironmentFile=/var/containers/mastodon/.env Exec=node ./streaming/index.js HealthCmd=curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1 Network=mastodon.network Network=postgresql.network PublishPort=127.0.0.1:58834:4000 [Service] Restart=always RestartSec=10s [Install] WantedBy=default.target