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
|
2026-01-11 14:11:56 +07:00
|
|
|
# Security
|
|
|
|
|
NoNewPrivileges=true
|
2026-01-11 15:38:46 +07:00
|
|
|
# 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
|