mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-18 06:54:20 +01:00
Add BTX support
This commit is contained in:
1
bitcore-cli.ps1
Executable file
1
bitcore-cli.ps1
Executable file
@@ -0,0 +1 @@
|
|||||||
|
docker exec -ti btcpayserver_bitcored bitcore-cli -datadir="/data" $args
|
||||||
3
bitcore-cli.sh
Executable file
3
bitcore-cli.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -ti btcpayserver_bitcored bitcore-cli -datadir="/data" "$@"
|
||||||
@@ -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)
|
||||||
|
|||||||
34
docker-compose-generator/docker-fragments/bitcore.yml
Normal file
34
docker-compose-generator/docker-fragments/bitcore.yml
Normal 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:
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user