Browse Source

Merge pull request #8 from Vutov/master

Added BTG 0.15.0.2 Image
migrate-pregen
Nicolas Dorier 7 years ago
committed by GitHub
parent
commit
ced0cde91e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      bgold-cli.ps1
  2. 3
      bgold-cli.sh
  3. 33
      docker-compose-generator/docker-fragments/bitcoingold.yml
  4. 8
      docker-compose-generator/src/CryptoDefinition.cs
  5. 1
      docker-compose-generator/src/Properties/launchSettings.json

1
bgold-cli.ps1

@ -0,0 +1 @@
docker exec -ti btcpayserver_bgoldd bgold-cli -datadir="/data" $args

3
bgold-cli.sh

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -ti btcpayserver_bgoldd bgold-cli -datadir="/data" "$@"

33
docker-compose-generator/docker-fragments/bitcoingold.yml

@ -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_BTGRPCURL: http://bgoldd:43782/
NBXPLORER_BTGNODEENDPOINT: bgoldd:39388
links:
- bgoldd
volumes:
- "bitcoingold_datadir:/root/.bitcoingold"
btcpayserver:
environment:
BTCPAY_CHAINS: "btg"
BTCPAY_BTGEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoingold_datadir:

8
docker-compose-generator/src/CryptoDefinition.cs

@ -38,7 +38,13 @@ namespace DockerGenerator
CryptoFragment = "bitcoin",
CLightningFragment = "bitcoin-clightning",
},
};
new CryptoDefinition()
{
Crypto = "btg",
CryptoFragment = "bitcoingold",
CLightningFragment = null,
}
};
}
}
}

1
docker-compose-generator/src/Properties/launchSettings.json

@ -5,6 +5,7 @@
"commandLineArgs": "pregen",
"environmentVariables": {
"BTCPAYGEN_LIGHTNING": "clightning",
"BTCPAYGEN_CRYPTO3": "btg",
"BTCPAYGEN_CRYPTO2": "ltc",
"BTCPAYGEN_CRYPTO1": "btc",
"BTCPAYGEN_REVERSEPROXY": "nginx"

Loading…
Cancel
Save