2023-01-28 09:21:45 +00:00
|
|
|
ARG SSH_PORT
|
2023-01-29 05:26:30 +00:00
|
|
|
ARG DOMAIN
|
|
|
|
ARG CERTBOT_EMAIL
|
2023-01-28 09:21:45 +00:00
|
|
|
|
2023-01-28 09:49:18 +00:00
|
|
|
INCLUDE https://github.com/s-daveb/ip6jail.template
|
2023-01-28 05:53:02 +00:00
|
|
|
|
2023-01-29 05:41:10 +00:00
|
|
|
cp etc /
|
2023-01-29 04:48:58 +00:00
|
|
|
CP usr /
|
2023-01-29 05:26:30 +00:00
|
|
|
RENDER /usr/local/etc/lighttpd-proxy.conf
|
2023-01-28 05:53:02 +00:00
|
|
|
|
2023-01-29 05:30:20 +00:00
|
|
|
PKG lighttpd py39-certbot
|
2023-01-28 05:53:02 +00:00
|
|
|
|
2023-01-29 05:34:07 +00:00
|
|
|
CMD certbot register -m ${CERTBOT_EMAIL} --agree-tos || true
|
2023-01-29 05:26:30 +00:00
|
|
|
CMD certbot certonly --standalone --domains ${DOMAIN}
|
|
|
|
|
2023-01-28 09:11:51 +00:00
|
|
|
SERVICE lighttpd restart
|