mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-18 07:54:21 +01:00
Merge branch 'master' of https://github.com/Vutov/btcpayserver-docker into Vutov-master
This commit is contained in:
1
bgold-lncli.ps1
Executable file
1
bgold-lncli.ps1
Executable file
@@ -0,0 +1 @@
|
|||||||
|
docker exec -ti btcpayserver_lnd_bitcoingold lncli $args
|
||||||
3
bgold-lncli.sh
Executable file
3
bgold-lncli.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -ti btcpayserver_lnd_bitcoingold lncli "$@"
|
||||||
62
docker-compose-generator/docker-fragments/bgold-lnd.yml
Normal file
62
docker-compose-generator/docker-fragments/bgold-lnd.yml
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
lnd_bitcoingold:
|
||||||
|
image: kamigawabul/btglnd:latest
|
||||||
|
container_name: btcpayserver_lnd_bitcoingold
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
LND_CHAIN: "btg"
|
||||||
|
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
|
||||||
|
LND_EXTRA_ARGS: |
|
||||||
|
restlisten=0.0.0.0:8080
|
||||||
|
rpclisten=127.0.0.1:10008
|
||||||
|
rpclisten=0.0.0.0:10009
|
||||||
|
bitcoingold.node=bgoldd
|
||||||
|
bgoldd.rpchost=bgoldd:43782
|
||||||
|
bgoldd.zmqpath=tcp://bgoldd:28332
|
||||||
|
externalip=${BTCPAY_HOST}:9735
|
||||||
|
alias=${LIGHTNING_ALIAS}
|
||||||
|
noencryptwallet=1
|
||||||
|
ports:
|
||||||
|
- "9735:9735"
|
||||||
|
expose:
|
||||||
|
- "8080"
|
||||||
|
- "9735"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoingold_datadir:/data"
|
||||||
|
- "bgold_datadir:/deps/.bitcoingold"
|
||||||
|
links:
|
||||||
|
- bgoldd
|
||||||
|
|
||||||
|
btcpayserver:
|
||||||
|
environment:
|
||||||
|
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoingold:8080/;macaroonfilepath=/etc/lnd_bitcoingold/admin.macaroon;allowinsecure=true"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoingold_datadir:/etc/lnd_bitcoingold"
|
||||||
|
links:
|
||||||
|
- lnd_bitcoingold
|
||||||
|
|
||||||
|
bgoldd:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: |
|
||||||
|
zmqpubrawtx=tcp://0.0.0.0:28332
|
||||||
|
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||||
|
zmqpubrawtxlock=tcp://0.0.0.0:28332
|
||||||
|
zmqpubhashblock=tcp://0.0.0.0:28332
|
||||||
|
expose:
|
||||||
|
- "28332"
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
links:
|
||||||
|
- "lnd_bitcoingold"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoingold_datadir:/lnd"
|
||||||
|
nginx-gen:
|
||||||
|
links:
|
||||||
|
- "lnd_bitcoingold"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoingold_datadir:/lnd"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
lnd_bitcoingold_datadir:
|
||||||
@@ -6,21 +6,21 @@ namespace DockerGenerator
|
|||||||
{
|
{
|
||||||
public class CryptoDefinition
|
public class CryptoDefinition
|
||||||
{
|
{
|
||||||
public string Crypto
|
public string Crypto
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
private set;
|
private set;
|
||||||
}
|
}
|
||||||
public string CryptoFragment
|
public string CryptoFragment
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
private set;
|
private set;
|
||||||
}
|
}
|
||||||
public string CLightningFragment
|
public string CLightningFragment
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
private set;
|
private set;
|
||||||
}
|
}
|
||||||
public string LNDFragment
|
public string LNDFragment
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
@@ -28,33 +28,34 @@ namespace DockerGenerator
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static CryptoDefinition[] GetDefinitions()
|
public static CryptoDefinition[] GetDefinitions()
|
||||||
{
|
{
|
||||||
return new[]
|
return new[]
|
||||||
{
|
{
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "ltc",
|
Crypto = "ltc",
|
||||||
CryptoFragment = "litecoin",
|
CryptoFragment = "litecoin",
|
||||||
CLightningFragment = "litecoin-clightning",
|
CLightningFragment = "litecoin-clightning",
|
||||||
LNDFragment = "litecoin-lnd"
|
LNDFragment = "litecoin-lnd"
|
||||||
},
|
},
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "btc",
|
Crypto = "btc",
|
||||||
CryptoFragment = "bitcoin",
|
CryptoFragment = "bitcoin",
|
||||||
CLightningFragment = "bitcoin-clightning",
|
CLightningFragment = "bitcoin-clightning",
|
||||||
LNDFragment = "bitcoin-lnd"
|
LNDFragment = "bitcoin-lnd"
|
||||||
},
|
},
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "btg",
|
Crypto = "btg",
|
||||||
CryptoFragment = "bgold"
|
CryptoFragment = "bgold",
|
||||||
},
|
LNDFragment = "bgold-lnd"
|
||||||
new CryptoDefinition()
|
},
|
||||||
{
|
new CryptoDefinition()
|
||||||
Crypto = "ftc",
|
{
|
||||||
CryptoFragment = "feathercoin"
|
Crypto = "ftc",
|
||||||
},
|
CryptoFragment = "feathercoin"
|
||||||
|
},
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "grs",
|
Crypto = "grs",
|
||||||
@@ -66,6 +67,6 @@ namespace DockerGenerator
|
|||||||
CryptoFragment = "viacoin"
|
CryptoFragment = "viacoin"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user