rspamd: Update to 3.7.4, start on health-check

This commit is contained in:
Alex Palaistras 2023-11-17 13:38:34 +00:00
parent bcd39b92e1
commit 70cc88efbf
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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]