From e7ab075c9cf435e46f6dc5d8ee864f986fcaa606 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Tue, 23 Mar 2021 23:18:35 +0000 Subject: [PATCH 1/3] Lockdown Letsencrypt to 0.9.4 --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 724d6e0..c497b3a 100755 --- a/test.sh +++ b/test.sh @@ -13,7 +13,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y d sudo dokku plugin:install-dependencies --core (dokku plugin:list | grep redis) || sudo dokku plugin:install https://github.com/dokku/dokku-redis.git --committish 1.10.4 redis (dokku plugin:list | grep postgres) || sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git --committish 1.9.5 postgres -(dokku plugin:list | grep letsencrypt) || sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git +(dokku plugin:list | grep letsencrypt) || sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git --commitish 0.9.4 letsencrypt dokku plugin:list dokku letsencrypt:cron-job --add (dokku apps:list | grep wharf) || dokku apps:create wharf From cc081731e6d7647c4e61c27e21d1cb37627e29e0 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Tue, 23 Mar 2021 23:19:31 +0000 Subject: [PATCH 2/3] Note valid Letsencrypt versions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18b314b..650162f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Setup 2. Install the following plugins: * https://github.com/dokku/dokku-redis (versions up to 1.10.4, see [#75](https://github.com/palfrey/wharf/issues/75)) * https://github.com/dokku/dokku-postgres (versions up to 1.9.5, see [#75](https://github.com/palfrey/wharf/issues/75)) - * https://github.com/dokku/dokku-letsencrypt + * https://github.com/dokku/dokku-letsencrypt (versions up to 0.9.4 see [#115](https://github.com/palfrey/wharf/issues/115)) 3. Setup the Let's Encrypt plugin to auto-renew (`dokku letsencrypt:cron-job --add`) 4. Create the app (`dokku apps:create wharf`) 5. Add SSH key storage: From 7bdc96bd2a1dfb6b7361d4214162191c5295a6c3 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Wed, 24 Mar 2021 07:46:19 +0000 Subject: [PATCH 3/3] Fix comittish spelling --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index c497b3a..3c0103b 100755 --- a/test.sh +++ b/test.sh @@ -13,7 +13,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y d sudo dokku plugin:install-dependencies --core (dokku plugin:list | grep redis) || sudo dokku plugin:install https://github.com/dokku/dokku-redis.git --committish 1.10.4 redis (dokku plugin:list | grep postgres) || sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git --committish 1.9.5 postgres -(dokku plugin:list | grep letsencrypt) || sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git --commitish 0.9.4 letsencrypt +(dokku plugin:list | grep letsencrypt) || sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git --committish 0.9.4 letsencrypt dokku plugin:list dokku letsencrypt:cron-job --add (dokku apps:list | grep wharf) || dokku apps:create wharf @@ -41,4 +41,4 @@ if [ ! -f $KEY_DIR/id_rsa ]; then echo "Can't find keys in key dir" ls $KEY_DIR exit 1 -fi \ No newline at end of file +fi