Added BTG 0.15.0.2 Image
This commit is contained in:
33
docker-compose-generator/docker-fragments/bitcoingold.yml
Normal file
33
docker-compose-generator/docker-fragments/bitcoingold.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
bgoldd:
|
||||
restart: always
|
||||
container_name: btcpayserver_bgoldd
|
||||
image: kamigawabul/docker-bitcoingold/:0.15.0.2
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
rpcport=43782
|
||||
${NBITCOIN_NETWORK:-regtest}=1
|
||||
port=39388
|
||||
whitelist=0.0.0.0/0
|
||||
expose:
|
||||
- "43782"
|
||||
- "39388"
|
||||
volumes:
|
||||
- "bitcoingold_datadir:/data"
|
||||
nbxplorer:
|
||||
environment:
|
||||
NBXPLORER_CHAINS: "btg"
|
||||
NBXPLORER_BTCRPCURL: http://bgoldd:43782/
|
||||
NBXPLORER_BTCNODEENDPOINT: bgoldd:39388
|
||||
links:
|
||||
- bgoldd
|
||||
volumes:
|
||||
- "bitcoingold_datadir:/root/.bitcoingold"
|
||||
btcpayserver:
|
||||
environment:
|
||||
BTCPAY_CHAINS: "btg"
|
||||
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
|
||||
volumes:
|
||||
bitcoingold_datadir:
|
||||
@@ -20,7 +20,7 @@ namespace DockerGenerator
|
||||
var testLocation = FindLocation("Production-NoReverseProxy");
|
||||
|
||||
HashSet<string> processed = new HashSet<string>();
|
||||
foreach(var permutation in ItemCombinations(new[] { "btc", "ltc", "clightning" }.ToList()))
|
||||
foreach(var permutation in ItemCombinations(new[] { "btc", "ltc", "clightning", "btg" }.ToList()))
|
||||
{
|
||||
if(permutation.Count == 1 && permutation.First() == "clightning")
|
||||
continue;
|
||||
@@ -47,8 +47,12 @@ namespace DockerGenerator
|
||||
if(permutation.Contains("clightning"))
|
||||
fragments.Add("bitcoin-clightning");
|
||||
}
|
||||
if (permutation.Contains("btg"))
|
||||
{
|
||||
fragments.Add("bitcoingold");
|
||||
}
|
||||
|
||||
var def = new DockerComposeDefinition(id, fragments);
|
||||
var def = new DockerComposeDefinition(id, fragments);
|
||||
def.FragmentLocation = fragmentLocation;
|
||||
def.BuildOutputDirectory = productionLocation;
|
||||
def.Build();
|
||||
|
||||
Reference in New Issue
Block a user