First checkin
This commit is contained in:
commit
2f01c5f8a9
|
|
@ -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
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
environment:
|
||||
TZ: America/New_York
|
||||
DISABLE_IPV6: 'true'
|
||||
volumes:
|
||||
- ${PWD}/letsencrypt:/etc/letsencrypt
|
||||
|
|
@ -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'
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
certbot_dns_henet:dns_henet_username=RyMonium
|
||||
certbot_dns_henet:dns_henet_password=59b9TK7CaSRYTi2
|
||||
Loading…
Reference in New Issue