synth.download/beeper/etc/containers/systemd/redlib/redlib.container

27 lines
548 B
Text
Raw Permalink Normal View History

2026-01-01 18:00:42 +07:00
[Unit]
Description=Redlib
[Container]
Image=quay.io/redlib/redlib:latest
ContainerName=redlib
2026-01-02 05:45:03 +07:00
AutoUpdate=registry
2026-01-02 04:38:40 +07:00
EnvironmentFile=/etc/containers/systemd/redlib/.env
2026-01-11 10:07:38 +07:00
PublishPort=127.0.0.1:51617:8080
# Health
2026-01-01 18:00:42 +07:00
HealthCmd=wget --spider -q --tries=1 http://localhost:8080/settings
2026-01-11 10:07:38 +07:00
HealthOnFailure=kill
2026-01-01 18:00:42 +07:00
HealthInterval=5m
2026-01-11 10:07:38 +07:00
HealthStartPeriod=30s
Notify=healthy
# Security
NoNewPrivileges=true
# Resources
Memory=1g
PodmanArgs=--memory-reservation=512m --cpus=0.4 --cpu-shares=512
2026-01-01 18:00:42 +07:00
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target