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

24 lines
603 B
Text
Raw Permalink Normal View History

2025-12-30 00:54:29 +07:00
[Unit]
Description=Mastodon Ingress Service
BindsTo=postgresql.service mastodon-dfdb.service
2025-12-30 00:54:29 +07:00
After=postgresql.service mastodon-dfdb.service
[Container]
Image=ghcr.io/synth-download/mastodon-ingress:nightly
ContainerName=mastodon-ingress
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
Network=mastodon.network
Network=postgresql.network
# Security
NoNewPrivileges=true
# Resources
Memory=512m
PodmanArgs=--memory-reservation=128m --cpus=0.1 --cpu-shares=512
2025-12-30 00:54:29 +07:00
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target