Certbot
This commit is contained in:
parent
2944d8cdc1
commit
caa50e46dd
|
@ -0,0 +1,15 @@
|
|||
FROM debian:buster-slim
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
certbot \
|
||||
python3-certbot-dns-rfc2136 \
|
||||
cron \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY certbot-renew /etc/cron.d/
|
||||
|
||||
VOLUME ["/etc/letsencrypt"]
|
||||
|
||||
CMD ["cron", "-f"]
|
|
@ -0,0 +1,2 @@
|
|||
MAILTO=hostmaster
|
||||
0 */12 * * * root certbot -q renew
|
Loading…
Reference in New Issue