commit 2f01c5f8a90af177abf9c1445638d815ecae3bc1 Author: Ryan Date: Mon Jul 17 13:32:05 2023 -0400 First checkin diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..13d4084 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu + +ENV TZ="America/New_York" +RUN apt update +RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \ + certbot \ + git \ + python3-setuptools \ + python3-pip + +RUN cd /opt && git clone https://github.com/gentoo-root/certbot-dns-henet.git +RUN cd /opt/certbot-dns-henet && python3 setup.py build +RUN cd /opt/certbot-dns-henet && python3 setup.py test +RUN cd /opt/certbot-dns-henet && python3 setup.py install + +RUN install -m 700 -d /etc/letsencrypt/dns-credentials +ADD henet /etc/letsencrypt/dns-credentials/henet +CMD tail -f /dev/null \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f5c6919 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3.8' + +services: + app: + build: . + environment: + TZ: America/New_York + DISABLE_IPV6: 'true' + volumes: + - ${PWD}/letsencrypt:/etc/letsencrypt diff --git a/get_rymon_wildcard b/get_rymon_wildcard new file mode 100644 index 0000000..c9adfa3 --- /dev/null +++ b/get_rymon_wildcard @@ -0,0 +1 @@ +certbot certonly --authenticator certbot-dns-henet:dns-henet --certbot-dns-henet:dns-henet-credentials /etc/letsencrypt/dns-credentials/henet --domain 'rymon.net' --domain '*.rymon.net' --must-staple --agree-tos -m 'ryan@rymon.net' \ No newline at end of file diff --git a/henet b/henet new file mode 100644 index 0000000..c3b4bbb --- /dev/null +++ b/henet @@ -0,0 +1,2 @@ +certbot_dns_henet:dns_henet_username=RyMonium +certbot_dns_henet:dns_henet_password=59b9TK7CaSRYTi2 \ No newline at end of file diff --git a/letsencrypt/.empty b/letsencrypt/.empty new file mode 100644 index 0000000..e69de29