commit | 15edd774a96a8d310ed4bde0458925924d745975 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sat Jul 01 18:16:50 2023 +0000 |
committer | Nico Huber <nico.h@gmx.de> | Fri Jul 21 22:34:24 2023 +0000 |
tree | 476cf08d66c25049b8adcfeaba6f54b990dafa4a | |
parent | aa15aeed4eae414ef87726d262ef9661dd9c569e [diff] [blame] |
Use certbot for let's encrypt certificate
diff --git a/certbot/Dockerfile.entrypoint b/certbot/Dockerfile.entrypoint new file mode 100644 index 0000000..fe971e2 --- /dev/null +++ b/certbot/Dockerfile.entrypoint
@@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +{ + domain=${SA_PUBLIC_DOMAIN_NAME:-miau.local} + + rm -rf /etc/letsencrypt/live/${domain} +} + +exec certbot "$@"