From 3390971f84010b9d0e44a51abe7f72735cba6f53 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Mon, 26 Oct 2020 17:35:38 +0100 Subject: [PATCH] Make heroku deployment easier --- app.json | 26 ++++++++++++++++++++++++++ go.mod | 1 + 2 files changed, 27 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000..61b21ae --- /dev/null +++ b/app.json @@ -0,0 +1,26 @@ +{ + "name": "lnme", + "description": "LnMe - your friendly ⚡ payment page", + "repository": "https://github.com/bumi/lnme", + "logo": "https://bitcoin.org/img/icons/logotop.svg", + "keywords": ["payments", "lightning", "bitcoin"], + "env": { + "LNME_LND_ADDRESS": { + "description": "LND Address (e.g. 42.42.21.21:10009)", + "value": "" + }, + "LNME_LND_MACAROON": { + "description": "LND macaroon as HEX", + "value": "" + }, + "LNME_LND_CERT": { + "description": "LND TLS cert as HEX", + "value": "" + } + }, + "buildpacks": [ + { + "url": "https://github.com/heroku/heroku-buildpack-go" + } + ] +} \ No newline at end of file diff --git a/go.mod b/go.mod index 4226305..c294973 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,4 @@ +// +heroku goVersion 1.15 module github.com/bumi/lnme go 1.15