add certbot to setup.sh

This commit is contained in:
Ben Allfree 2024-09-15 22:29:42 +00:00
parent b6311be872
commit 18fabb2c4a

View File

@ -22,6 +22,15 @@ apt-get update
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 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 # Create user pockethost with no password
adduser --disabled-password --gecos "" pockethost adduser --disabled-password --gecos "" pockethost