From 57d0c93851d72789c2adda1ed1e8b671bcd3f884 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 15 Jun 2024 17:06:31 -0400 Subject: mlmmj: Add maintenance service Define a container to run mlmmj-maintd service. It runs daemonized so it will schedule its own tasks (its forground mode is one-shot execution). Signed-off-by: Malfurious --- docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 60b4b08..e4c8a42 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,6 +46,15 @@ services: LETSENCRYPT_HOST: "YOUR-DOMAIN.example" command: ["/usr/sbin/dovecot", "-F"] + mlmmj-maint: + image: "mailnode" + pull_policy: "never" + + restart: "always" + volumes: + - "mlmmj:/var/spool/mlmmj" + command: ["bash", "-c", "/usr/bin/mlmmj-maintd -d /var/spool/mlmmj && sleep infinity"] + volumes: certs: external: true -- cgit v1.2.3