1
0
mirror of https://github.com/wmnnd/nginx-certbot synced 2023-04-20 18:47:46 +08:00

Merge pull request #17 from ynixon/fix_init_script

Add check for docker-compose
This commit is contained in:
Philipp 2019-06-03 10:39:50 +02:00 committed by GitHub
commit 0f3855358c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
init-letsencrypt.sh Normal file → Executable file
View File

@ -1,5 +1,10 @@
#!/bin/bash
if ! [ -x "$(command -v docker-compose)" ]; then
echo 'Error: docker-compose is not installed.' >&2
exit 1
fi
domains=(example.com www.example.com)
rsa_key_size=4096
data_path="./data/certbot"