From 18fabb2c4a81aab2c196e9d733e94925de45c15a Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sun, 15 Sep 2024 22:29:42 +0000 Subject: [PATCH] add certbot to setup.sh --- setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.sh b/setup.sh index 768a5168..d6457f15 100644 --- a/setup.sh +++ b/setup.sh @@ -22,6 +22,15 @@ apt-get update apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +certbot certonly \ + --dns-cloudflare \ + --dns-cloudflare-credentials ~/certbot-creds.ini \ + -d *.sfo-2.pockethost.io \ + --agree-tos \ + --no-eff-email \ + --email xxx@xxxx.com + + # Create user pockethost with no password adduser --disabled-password --gecos "" pockethost