Make heroku deployment easier

This commit is contained in:
bumi 2020-10-26 17:35:38 +01:00
parent e98a06f22f
commit 3390971f84
2 changed files with 27 additions and 0 deletions

26
app.json Normal file
View File

@ -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"
}
]
}

1
go.mod
View File

@ -1,3 +1,4 @@
// +heroku goVersion 1.15
module github.com/bumi/lnme
go 1.15