First checkin

This commit is contained in:
Ryan 2023-07-17 13:32:05 -04:00
commit 2f01c5f8a9
5 changed files with 31 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -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

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3.8'
services:
app:
build: .
environment:
TZ: America/New_York
DISABLE_IPV6: 'true'
volumes:
- ${PWD}/letsencrypt:/etc/letsencrypt

1
get_rymon_wildcard Normal file
View File

@ -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'

2
henet Normal file
View File

@ -0,0 +1,2 @@
certbot_dns_henet:dns_henet_username=RyMonium
certbot_dns_henet:dns_henet_password=59b9TK7CaSRYTi2

0
letsencrypt/.empty Normal file
View File