Auto-update Dovecot and Gitea on container build

This commit is contained in:
Alex Palaistras 2023-10-29 16:46:28 +00:00
parent 95d279be7a
commit 9dfd940eab
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Before=grafana-dashboard@dovecot.service
[Container] [Container]
AddCapability=SYS_CHROOT AddCapability=SYS_CHROOT
AutoUpdate=local
ContainerName=%N ContainerName=%N
EnvironmentFile=%E/coreos-home-server/%N/%N.env EnvironmentFile=%E/coreos-home-server/%N/%N.env
EnvironmentFile=%E/coreos-home-server/rspamd/rspamd.env EnvironmentFile=%E/coreos-home-server/rspamd/rspamd.env

View File

@ -4,6 +4,7 @@ Wants=container-build@%N.service container-volume@%N.service lldap.service
After=container-build@%N.service container-volume@%N.service lldap.service After=container-build@%N.service container-volume@%N.service lldap.service
[Container] [Container]
AutoUpdate=local
ContainerName=%N ContainerName=%N
EnvironmentFile=%E/coreos-home-server/%N/%N.env EnvironmentFile=%E/coreos-home-server/%N/%N.env
HealthCmd=timeout 5s curl --fail --silent --show-error localhost:8080/api/healthz > /dev/null HealthCmd=timeout 5s curl --fail --silent --show-error localhost:8080/api/healthz > /dev/null