synth.download/beeper/etc/containers/systemd/safetwitch/safetwitch-backend.container

22 lines
456 B
Text
Raw Normal View History

2026-01-01 18:00:42 +07:00
[Unit]
Description=SafeTwitch Backend
[Container]
Image=codeberg.org/safetwitch/safetwitch-backend:latest
ContainerName=safetwitch-backend
2026-01-02 05:45:03 +07:00
AutoUpdate=registry
2026-01-01 18:00:42 +07:00
Environment=PORT=7000
Environment=URL=https://b.twitch.synth.download
PublishPort=127.0.0.1:43072:7000
# Security
NoNewPrivileges=true
# Resources
Memory=1g
PodmanArgs=--memory-reservation=512m --cpus=1 --cpu-shares=512
2026-01-01 18:00:42 +07:00
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target