From bc7c1bb9e3ca31d3cfe3c3e4b84a8972e111c137 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 28 Sep 2023 12:05:56 +0200 Subject: [PATCH] mailcow.yml aktualisiert --- mailcow.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mailcow.yml b/mailcow.yml index 707d630..eb26525 100644 --- a/mailcow.yml +++ b/mailcow.yml @@ -185,9 +185,8 @@ fi fi # take letsencrypt-certs from traefik - . /home/docker/mailcow-dockerized/mailcow.conf - cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"$MAILCOW_HOSTNAME\") | .key" | base64 -d >/home/docker/mailcow-dockerized/data/assets/ssl/key.pem - cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"$MAILCOW_HOSTNAME\") | .certificate" | base64 -d >/home/docker/mailcow-dockerized/data/assets/ssl/cert.pem + cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"mail.{{inventory_hostname}}\") | .key" | base64 -d >/home/docker/mailcow-dockerized/data/assets/ssl/key.pem + cat /home/docker/traefik/letsencrypt/acme.json | jq -r ".letsencrypt.Certificates[] | select(.domain.main==\"mail.{{inventory_hostname}}\") | .certificate" | base64 -d >/home/docker/mailcow-dockerized/data/assets/ssl/cert.pem docker restart $(docker ps -qaf name=postfix-mailcow) docker restart $(docker ps -qaf name=dovecot-mailcow) backup: yes