From 91dfd2f8cebd99aee147956a46205b9e1f63271a Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Mon, 26 Aug 2024 16:40:08 -0700 Subject: [PATCH] persist TLS certs --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6a378fa..029471a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,7 +22,9 @@ $(hostname -f) { chmod 666 /coderunr/Caddyfile ) -# xxx persist certs via /coderunr/ /root/.local/share/caddy/ +mkdir -p /root/.local/share +mkdir -p /coderunr/__certs +ln -s /coderunr/__certs /root/.local/share/caddy /usr/sbin/caddy start --config /coderunr/Caddyfile &