From 5dd2c2cdb546b811a573c5520ee1616ef8c9adfa Mon Sep 17 00:00:00 2001 From: Colin Crossman Date: Fri, 8 Oct 2021 22:33:55 -0600 Subject: [PATCH 1/3] Update app.json For Heroku, add the Tor buildpack to allow for Tor connections. --- app.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index 61b21ae..79e8c6b 100644 --- a/app.json +++ b/app.json @@ -20,7 +20,8 @@ }, "buildpacks": [ { - "url": "https://github.com/heroku/heroku-buildpack-go" + "url": "https://github.com/heroku/heroku-buildpack-go", + "url": "https://github.com/iamashks/heroku-buildpack-tor-proxy.git" } ] -} \ No newline at end of file +} From 1fe4dd3dd6b9e32709d70b39cb56c6d8b9c88c3b Mon Sep 17 00:00:00 2001 From: Colin Crossman Date: Tue, 12 Oct 2021 18:06:20 -0600 Subject: [PATCH 2/3] Update app.json for Tor on Heroku Add heroku buildpack for Tor integration --- app.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 79e8c6b..82ae344 100644 --- a/app.json +++ b/app.json @@ -20,7 +20,9 @@ }, "buildpacks": [ { - "url": "https://github.com/heroku/heroku-buildpack-go", + "url": "https://github.com/heroku/heroku-buildpack-go" + }, + { "url": "https://github.com/iamashks/heroku-buildpack-tor-proxy.git" } ] From 00b33e3bd97f0125bc544baeab868330247bcb87 Mon Sep 17 00:00:00 2001 From: Colin Crossman Date: Wed, 13 Oct 2021 12:26:07 -0600 Subject: [PATCH 3/3] Update README.md with additional Heroku info Add a statement about the non-standard Tor buildpack, along with instructions to remove. Also add a pointer to the Heroku page describing the method to link the app to a personal domain. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 683e3e0..2fa3afc 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,12 @@ When getting the HEX of the TLS certificate, use `xxd -plain tls.cert | tr -d '\ Here is a [Video Demo of the Heroku deployment](https://www.youtube.com/watch?v=hSFXhnLp_Rc) +In order to run Tor on Heroku, the Heroku deployment includes a non-official buildpack: https://github.com/iamashks/heroku-buildpack-tor-proxy +This buildpack can be disabled and removed if not needed or desired, through the Settigns tab on the Heroku dashboard, or by editing app.json and removing the buildpack. + +Lastly, using the Heroku deployment, you can link the app to your own domain by following the directions here: https://help.heroku.com/MTG1BIA7/how-do-i-connect-a-domain-to-my-heroku-app + + ### Deployment Notes To run LnMe as systemd service have a look at the [systemd service example config](https://github.com/bumi/lnme/blob/master/examples/lnme.service)