diff --git a/service/rspamd/Containerfile b/service/rspamd/Containerfile index 758dc8d..ddb02ce 100644 --- a/service/rspamd/Containerfile +++ b/service/rspamd/Containerfile @@ -1,5 +1,5 @@ FROM docker.io/debian:bookworm-slim -ARG VERSION=3.7.1 +ARG VERSION=3.7.4 RUN apt-get update -y && apt-get install -y --no-install-recommends ca-certificates ADD --chown=_apt https://rspamd.com/apt-stable/gpg.key /etc/apt/trusted.gpg.d/rspamd.asc diff --git a/service/rspamd/quadlet/rspamd.container b/service/rspamd/quadlet/rspamd.container index b76c272..c5a90cd 100644 --- a/service/rspamd/quadlet/rspamd.container +++ b/service/rspamd/quadlet/rspamd.container @@ -4,10 +4,13 @@ Wants=container-build@%N.service container-volume@%N.service redis.service After=container-build@%N.service container-volume@%N.service redis.service [Container] +AutoUpdate=local ContainerName=%N EnvironmentFile=%E/coreos-home-server/%N/%N.env +HealthCmd=sh -c 'rspamadm control stat > /dev/null || exit 1' Image=localhost/%N:latest Network=internal +PodmanArgs=--sdnotify=healthy Volume=%N:/var/lib/%N:z [Service]