Merge branch 'master' of https://github.com/dalijolijo/btcpayserver-docker into dalijolijo-master

This commit is contained in:
nicolas.dorier
2018-12-04 13:59:56 +09:00
10 changed files with 58 additions and 3 deletions

1
bitcore-cli.ps1 Executable file
View File

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

3
bitcore-cli.sh Executable file
View File

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

View File

@@ -52,7 +52,7 @@ Environment variables:
LETSENCRYPT_EMAIL: A mail will be sent to this address if certificate expires and fail to renew automatically (eg. me@example.com) LETSENCRYPT_EMAIL: A mail will be sent to this address if certificate expires and fail to renew automatically (eg. me@example.com)
NBITCOIN_NETWORK: The type of network to use (eg. mainnet, testnet or regtest. Default: mainnet) NBITCOIN_NETWORK: The type of network to use (eg. mainnet, testnet or regtest. Default: mainnet)
LIGHTNING_ALIAS: An alias for your lightning network node if used LIGHTNING_ALIAS: An alias for your lightning network node if used
BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btg, grs, ftc, via, doge, mona, none. Default: btc) BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btx, btg, grs, ftc, via, doge, mona, none. Default: btc)
BTCPAYGEN_CRYPTO2: Second supported crypto currency (Default: empty) BTCPAYGEN_CRYPTO2: Second supported crypto currency (Default: empty)
BTCPAYGEN_CRYPTON: N th supported crypto currency where N is maximum at maximum 9. (Default: none) BTCPAYGEN_CRYPTON: N th supported crypto currency where N is maximum at maximum 9. (Default: none)
BTCPAYGEN_REVERSEPROXY: Whether to use or not a reverse proxy. NGinx setup HTTPS for you. (eg. nginx, traefik, none. Default: nginx) BTCPAYGEN_REVERSEPROXY: Whether to use or not a reverse proxy. NGinx setup HTTPS for you. (eg. nginx, traefik, none. Default: nginx)

View File

@@ -0,0 +1,34 @@
version: "3"
services:
bitcored:
restart: unless-stopped
container_name: btcpayserver_bitcored
image: dalijolijo/docker-bitcore:0.15.2
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcore_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "btx"
NBXPLORER_BTXRPCURL: http://bitcored:43782/
NBXPLORER_BTXNODEENDPOINT: bitcored:39388
links:
- bitcored
volumes:
- "bitcore_datadir:/root/.bitcore"
btcpayserver:
environment:
BTCPAY_BTXEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "btx"
volumes:
bitcore_datadir:

View File

@@ -4,7 +4,7 @@ services:
nbxplorer: nbxplorer:
restart: unless-stopped restart: unless-stopped
image: nicolasdorier/nbxplorer:2.0.0.1 image: nicolasdorier/nbxplorer:2.0.0.2
expose: expose:
- "32838" - "32838"
environment: environment:
@@ -14,4 +14,4 @@ services:
- "nbxplorer_datadir:/datadir" - "nbxplorer_datadir:/datadir"
volumes: volumes:
nbxplorer_datadir: nbxplorer_datadir:

View File

@@ -6,6 +6,9 @@ services:
bitcoind: bitcoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=50000 BITCOIN_EXTRA_ARGS: prune=50000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=50000
bgoldd: bgoldd:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=50000 BITCOIN_EXTRA_ARGS: prune=50000

View File

@@ -6,6 +6,9 @@ services:
bitcoind: bitcoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=25000 BITCOIN_EXTRA_ARGS: prune=25000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=25000
bgoldd: bgoldd:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=25000 BITCOIN_EXTRA_ARGS: prune=25000

View File

@@ -6,6 +6,9 @@ services:
bitcoind: bitcoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=5000 BITCOIN_EXTRA_ARGS: prune=5000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=5000
bgoldd: bgoldd:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=5000 BITCOIN_EXTRA_ARGS: prune=5000

View File

@@ -6,6 +6,9 @@ services:
bitcoind: bitcoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=100000 BITCOIN_EXTRA_ARGS: prune=100000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=100000
bgoldd: bgoldd:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=100000 BITCOIN_EXTRA_ARGS: prune=100000

View File

@@ -46,6 +46,11 @@ namespace DockerGenerator
LNDFragment = "bitcoin-lnd" LNDFragment = "bitcoin-lnd"
}, },
new CryptoDefinition() new CryptoDefinition()
{
Crypto = "btx",
CryptoFragment = "bitcore",
},
new CryptoDefinition()
{ {
Crypto = "btg", Crypto = "btg",
CryptoFragment = "bgold", CryptoFragment = "bgold",