-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ukfast/containerisation
Optimised Dockerfile and updated readme.
- Loading branch information
Showing
3 changed files
with
5 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
FROM python:latest | ||
|
||
ADD safedns.ini / | ||
|
||
RUN apt update | ||
RUN apt install certbot -y | ||
RUN apt update && apt install certbot -y | ||
RUN pip install certbot-dns-safedns | ||
|
||
CMD /bin/bash | ||
ENTRYPOINT certbot certonly --authenticator certbot-dns-safedns:dns_safedns --server https://acme-v02.api.letsencrypt.org/directory --no-eff-email --agree-tos --certbot-dns-safedns:dns_safedns-credentials /safedns.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
certbot_dns_safedns:dns_safedns_auth_token = xxxxxxxxxxxxxxxx | ||
certbot_dns_safedns:dns_safedns_propagation_seconds = 20 | ||
certbot_dns_safedns:dns_safedns_auth_token = API KEY GOES HERE | ||
certbot_dns_safedns:dns_safedns_propagation_seconds = 60 |