mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
rspamd: Update to 3.7.4, start on health-check
This commit is contained in:
parent
bcd39b92e1
commit
70cc88efbf
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user