mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
add certbot to setup.sh
This commit is contained in:
parent
b6311be872
commit
18fabb2c4a
9
setup.sh
9
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user