mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +03:00
Add Quadlet Container File (#319)
* Add Quadlet Container File * Update README.md with Quadlet instructions
This commit is contained in:
parent
96ebfd2d3a
commit
0bc36d529c
2 changed files with 51 additions and 1 deletions
16
redlib.container
Normal file
16
redlib.container
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue