Last active
November 26, 2018 20:33
-
-
Save rockstardev/b478707e5b5ea310939d9b7c9ad3d6e9 to your computer and use it in GitHub Desktop.
Bring up BTCPayServer on ARM32v7 with Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
btcpayserver: | |
restart: unless-stopped | |
image: btcpayserver/btcpayserver:1.0.3.17-arm32v7 | |
ports: | |
- "80:49392" | |
expose: | |
- "49392" | |
environment: | |
# BTCPay settings | |
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver-regtest | |
BTCPAY_NETWORK: regtest | |
BTCPAY_BIND: 0.0.0.0:49392 | |
BTCPAY_EXTERNALURL: http://par16.benappy.com:20080/ | |
BTCPAY_ROOTPATH: / | |
#BTCPAY_SSHTRUSTEDFINGERPRINTS: ${BTCPAY_SSHTRUSTEDFINGERPRINTS} | |
#BTCPAY_SSHKEYFILE: ${BTCPAY_SSHKEYFILE} | |
BTCPAY_DEBUGLOG: btcpay.log | |
BTCPAY_CHAINS: "btc" | |
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/ | |
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoin:8080/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;allowinsecure=true" | |
links: | |
- nbxplorer | |
- postgres | |
- lnd | |
volumes: | |
- "btcpay_datadir:/datadir" | |
- "nbxplorer_datadir:/root/.nbxplorer" | |
- "lnd_bitcoin_datadir:/etc/lnd_bitcoin" | |
postgres: | |
restart: unless-stopped | |
image: postgres:9.6.5 | |
volumes: | |
- "postgres_datadir:/var/lib/postgresql/data" | |
nbxplorer: | |
restart: unless-stopped | |
image: rockstardev/nbxplorer | |
expose: | |
- "32838" | |
environment: | |
NBXPLORER_NETWORK: regtest | |
NBXPLORER_BIND: 0.0.0.0:32838 | |
NBXPLORER_CHAINS: "btc" | |
NBXPLORER_BTCRPCURL: http://bitcoind:43782/ | |
NBXPLORER_BTCNODEENDPOINT: bitcoind:39388 | |
links: | |
- bitcoind | |
volumes: | |
- "nbxplorer_datadir:/datadir" | |
- "bitcoin_datadir:/root/.bitcoin" | |
bitcoind: | |
image: rockstardev/bitcoin:0.17.0-arm32v7 | |
environment: | |
BITCOIN_NETWORK: regtest | |
BITCOIN_EXTRA_ARGS: | | |
deprecatedrpc=signrawtransaction | |
rpcport=43782 | |
port=39388 | |
whitelist=0.0.0.0/0 | |
zmqpubrawblock=tcp://0.0.0.0:28332 | |
zmqpubrawtx=tcp://0.0.0.0:28333 | |
ports: | |
- "43782:43782" | |
- "28332:28332" | |
expose: | |
- "43782" # RPC | |
- "39388" # P2P | |
- "28332" # ZMQ | |
- "28333" # ZMQ | |
volumes: | |
- "bitcoin_datadir:/data" | |
lnd: | |
image: rockstardev/lnd:0.5-beta-btcpay-arm32v7 | |
container_name: btcpayserver_lnd_bitcoin | |
restart: unless-stopped | |
environment: | |
LND_CHAIN: "btc" | |
LND_ENVIRONMENT: "regtest" | |
LND_EXPLORERURL: "http://nbxplorer:32838/" | |
LND_EXTRA_ARGS: | | |
restlisten=0.0.0.0:8080 | |
rpclisten=127.0.0.1:10008 | |
rpclisten=0.0.0.0:10009 | |
bitcoin.node=bitcoind | |
bitcoind.rpchost=bitcoind:43782 | |
bitcoind.zmqpubrawblock=tcp://bitcoind:28332 | |
bitcoind.zmqpubrawtx=tcp://bitcoind:28333 | |
externalip=par16.benappy.com:29735 | |
alias=first_arm | |
adminmacaroonpath=/data/admin.macaroon | |
noseedbackup=1 | |
notls=1 | |
ports: | |
- "9735:9735" | |
expose: | |
- "8080" | |
- "9735" | |
volumes: | |
- "lnd_bitcoin_datadir:/data" | |
- "bitcoin_datadir:/deps/.bitcoin" | |
- "nbxplorer_datadir:/root/.nbxplorer" | |
links: | |
- nbxplorer | |
- bitcoind | |
volumes: | |
btcpay_datadir: | |
postgres_datadir: | |
bitcoin_datadir: | |
nbxplorer_datadir: | |
lnd_bitcoin_datadir: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment