Add Quadlet Container File (#319)

* Add Quadlet Container File

* Update README.md with Quadlet instructions
This commit is contained in:
James Musselman 2024-11-19 12:19:48 -06:00 committed by GitHub
parent 96ebfd2d3a
commit 0bc36d529c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 1 deletions

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