diff --git a/ungleich-certbot/Dockerfile_1.2.0 b/ungleich-certbot/Dockerfile_1.2.0 new file mode 100644 index 0000000..e79401f --- /dev/null +++ b/ungleich-certbot/Dockerfile_1.2.0 @@ -0,0 +1,12 @@ +FROM nginx:1.31.2-alpine + +RUN mkdir -p /nginx /www_http +COPY nginx-http-redir.conf /nginx/default.conf + +# For renewing the certificates +COPY renew_cert.sh /etc/periodic/daily/renew_cert + +RUN apk update && apk add certbot bind-tools + +COPY entrypoint.sh / +CMD ["/entrypoint.sh"] diff --git a/ungleich-certbot/entrypoint.sh b/ungleich-certbot/entrypoint.sh index f7f7799..d4f3e78 100755 --- a/ungleich-certbot/entrypoint.sh +++ b/ungleich-certbot/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/sh - +# Nico Schottelius, updated 2026-07-05 if [ -z "$DOMAIN" -o -z "$EMAIL" ]; then echo Missing DOMAIN or EMAIL parameter - aborting. >&2