1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-07-05 04:25:50 +00:00

Add DNS-01 challenge support for ACME certificates and related configurations

This commit is contained in:
Carlos
2025-11-13 07:19:38 +00:00
parent 674b41ce08
commit a52e977b89
7 changed files with 205 additions and 2 deletions
+11 -1
View File
@@ -14,11 +14,21 @@ RUN apk upgrade --no-cache \
tini \
tzdata \
python3 \
acme-tiny
acme-tiny \
git \
socat \
&& git clone --depth 1 https://github.com/acmesh-official/acme.sh.git /opt/acme.sh \
&& chmod +x /opt/acme.sh/acme.sh \
&& mkdir -p /var/lib/acme/acme-sh
ENV ACME_SH_BIN=/opt/acme.sh/acme.sh \
ACME_SH_HOME=/opt/acme.sh \
ACME_SH_CONFIG_HOME=/var/lib/acme/acme-sh
COPY acme.sh /srv/acme.sh
COPY functions.sh /srv/functions.sh
COPY obtain-certificate.sh /srv/obtain-certificate.sh
COPY obtain-certificate-dns.sh /srv/obtain-certificate-dns.sh
COPY reload-configurations.sh /srv/reload-configurations.sh
COPY expand6.sh /srv/expand6.sh