From c9e8014233ad09e47fee769fce787f3dfc323789 Mon Sep 17 00:00:00 2001 From: Musselman Date: Tue, 12 Nov 2024 18:50:58 -0600 Subject: [PATCH] Add Quadlet Container File --- redlib.container | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 redlib.container diff --git a/redlib.container b/redlib.container new file mode 100644 index 0000000..e66051e --- /dev/null +++ b/redlib.container @@ -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