mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-13 05:20:40 +02:00
support monacoin
This commit is contained in:
parent
080fbdaa9c
commit
8c9d9f0910
@ -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, none. Default: btc)
|
BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btg, grs, ftc, via, 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/monacoin.yml
Normal file
34
docker-compose-generator/docker-fragments/monacoin.yml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
monacoind:
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: btcpayserver_monacoind
|
||||||
|
image: nicolasdorier/docker-monacoin:0.16.3
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: |
|
||||||
|
rpcport=43782
|
||||||
|
${NBITCOIN_NETWORK:-regtest}=1
|
||||||
|
port=39388
|
||||||
|
whitelist=0.0.0.0/0
|
||||||
|
expose:
|
||||||
|
- "43782"
|
||||||
|
- "39388"
|
||||||
|
volumes:
|
||||||
|
- "monacoin_datadir:/data"
|
||||||
|
nbxplorer:
|
||||||
|
environment:
|
||||||
|
NBXPLORER_CHAINS: "mona"
|
||||||
|
NBXPLORER_MONARPCURL: http://monacoind:43782/
|
||||||
|
NBXPLORER_MONANODEENDPOINT: monacoind:39388
|
||||||
|
links:
|
||||||
|
- monacoind
|
||||||
|
volumes:
|
||||||
|
- "monacoin_datadir:/root/.monacoin"
|
||||||
|
btcpayserver:
|
||||||
|
environment:
|
||||||
|
BTCPAY_MONAEXPLORERURL: http://nbxplorer:32838/
|
||||||
|
BTCPAY_CHAINS: "mona"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
monacoin_datadir:
|
@ -31,4 +31,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
BITCOIN_EXTRA_ARGS: |
|
BITCOIN_EXTRA_ARGS: |
|
||||||
dbcache=150
|
dbcache=150
|
||||||
maxmempool=100
|
maxmempool=100
|
||||||
|
monacoind:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: |
|
||||||
|
dbcache=150
|
||||||
|
maxmempool=100
|
||||||
|
@ -24,3 +24,6 @@ services:
|
|||||||
dogecoind:
|
dogecoind:
|
||||||
environment:
|
environment:
|
||||||
DOGECOIN_EXTRA_ARGS: prune=50000
|
DOGECOIN_EXTRA_ARGS: prune=50000
|
||||||
|
monacoind:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: prune=50000
|
||||||
|
@ -24,3 +24,6 @@ services:
|
|||||||
dogecoind:
|
dogecoind:
|
||||||
environment:
|
environment:
|
||||||
DOGECOIN_EXTRA_ARGS: prune=25000
|
DOGECOIN_EXTRA_ARGS: prune=25000
|
||||||
|
monacoind:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: prune=25000
|
||||||
|
@ -24,3 +24,6 @@ services:
|
|||||||
dogecoind:
|
dogecoind:
|
||||||
environment:
|
environment:
|
||||||
DOGECOIN_EXTRA_ARGS: prune=5000
|
DOGECOIN_EXTRA_ARGS: prune=5000
|
||||||
|
monacoind:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: prune=5000
|
||||||
|
@ -23,4 +23,7 @@ services:
|
|||||||
BITCOIN_EXTRA_ARGS: prune=100000
|
BITCOIN_EXTRA_ARGS: prune=100000
|
||||||
dogecoind:
|
dogecoind:
|
||||||
environment:
|
environment:
|
||||||
DOGECOIN_EXTRA_ARGS: prune=100000
|
DOGECOIN_EXTRA_ARGS: prune=100000
|
||||||
|
monacoind:
|
||||||
|
environment:
|
||||||
|
BITCOIN_EXTRA_ARGS: prune=100000
|
||||||
|
@ -66,10 +66,15 @@ namespace DockerGenerator
|
|||||||
Crypto = "via",
|
Crypto = "via",
|
||||||
CryptoFragment = "viacoin"
|
CryptoFragment = "viacoin"
|
||||||
},
|
},
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "doge",
|
Crypto = "doge",
|
||||||
CryptoFragment = "dogecoin"
|
CryptoFragment = "dogecoin"
|
||||||
|
},
|
||||||
|
new CryptoDefinition()
|
||||||
|
{
|
||||||
|
Crypto = "mona",
|
||||||
|
CryptoFragment = "monacoin"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
1
monacoin-cli.ps1
Executable file
1
monacoin-cli.ps1
Executable file
@ -0,0 +1 @@
|
|||||||
|
docker exec -ti btcpayserver_monacoind monacoin-cli -datadir="/data" $args
|
3
monacoin-cli.sh
Executable file
3
monacoin-cli.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -ti btcpayserver_monacoind monacoin-cli -datadir="/data" "$@"
|
Loading…
Reference in New Issue
Block a user