Add Quadlet Container File

This commit is contained in:
Musselman 2024-11-12 18:50:58 -06:00
parent 6a18ea17ec
commit c9e8014233
No known key found for this signature in database
GPG key ID: 1DAEFF35ECB5D6DB

16
redlib.container Normal file
View file

@ -0,0 +1,16 @@
[Install]
WantedBy=default.target
[Container]
AutoUpdate=registry
ContainerName=redlib
DropCapability=ALL
EnvironmentFile=.env
HealthCmd=["wget","--spider","-q","--tries=1","http://localhost:8080/settings"]
HealthInterval=5m
HealthTimeout=3s
Image=quay.io/redlib/redlib:latest
NoNewPrivileges=true
PublishPort=8080:8080
ReadOnly=true
User=nobody