BREAKING CHANGE: standalone dns server
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-12-20 11:21:18 -03:00
parent 92b8307217
commit c7e00ea604
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -19,4 +19,3 @@ steps:
matrix:
ALPINE_VERSION:
- "3.19.0"
- "3.18.5"

View file

@ -5,7 +5,7 @@ MAINTAINER "f <f@sutty.nl>"
RUN addgroup -S -g 777 ssl
RUN install -dm 2700 -o root -g root /root/.ssh
RUN apk add --no-cache certbot jq wget openssh-client rsync certbot-dns-njalla
RUN apk add --no-cache certbot jq wget openssh-client rsync certbot-dns-standalone
COPY ./monit.conf /etc/monit.d/certbot.conf
COPY ./certbotd.sh /usr/local/bin/certbotd

View file

@ -50,8 +50,9 @@ case $1 in
# Get a single certificate for the whole domain
/usr/bin/certbot \
-a dns-njalla \
--dns-njalla-credentials /etc/letsencrypt/njalla.ini \
certonly \
--non-interactive \
--authenticator "dns-standalone" \
--email "certbot@${SUTTY}" \
--agree-tos \
-d "${SUTTY}" \