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

26 lines
859 B
Text
Raw Normal View History

2025-12-30 00:54:29 +07:00
[Unit]
Description=Mastodon Web Service
Requires=postgresql.service mastodon-dfdb.service
After=postgresql.service mastodon-dfdb.service
[Container]
2025-12-30 15:11:40 -06:00
ContainerName=mastodon-web
2025-12-30 00:54:29 +07:00
Image=ghcr.io/synth-download/mastodon:nightly
ContainerName=mastodon-web
2025-12-30 00:54:29 +07:00
EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env
Exec=bundle exec puma -C config/puma.rb
HealthCmd=curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1
Network=mastodon.network
Network=postgresql.network
PublishPort=127.0.0.1:46098:3000
2025-12-30 00:54:29 +07:00
Volume=/var/containers/mastodon/public/system:/mastodon/public/system:z
Volume=/var/containers/mastodon/init/disable_ssl.rb:/mastodon/config/initializers/disable_ssl.rb:ro,z
Volume=/var/containers/mastodon/shared:/shared:z
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target