Skip to content

Commit

Permalink
feat(docker): dockerfile for certbot
Browse files Browse the repository at this point in the history
  • Loading branch information
csvwolf authored Oct 1, 2019
1 parent f85951f commit e25ba6c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM certbot/certbot:v0.38.0

ENV DOMAIN 'undefined'
ENV EMAIL noreply@qq.com

VOLUME /opt/certbot/config

RUN pip install certbot-dns-hostker
ENTRYPOINT certbot certonly -n --renew-by-default --email ${EMAIL} --text --agree-tos --authenticator certbot-dns-hostker:dns-hostker --certbot-dns-hostker:dns-hostker-credentials /opt/certbot/config/config.ini -d ${DOMAIN}

0 comments on commit e25ba6c

Please sign in to comment.