Skip to content

Commit

Permalink
Yamllint'ed all files and made them compliant. (btcpayserver#379)
Browse files Browse the repository at this point in the history
Co-authored-by: max <[email protected]>
  • Loading branch information
max302 and max authored Oct 6, 2020
1 parent f48fb29 commit ea9abe6
Show file tree
Hide file tree
Showing 47 changed files with 368 additions and 369 deletions.
4 changes: 2 additions & 2 deletions docker-compose-generator/docker-fragments/bgold-lnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
- "lnd_bitcoingold_datadir:/etc/lnd_bitcoingold"
links:
- lnd_bitcoingold

nginx:
links:
- "lnd_bitcoingold"
Expand All @@ -52,4 +52,4 @@ volumes:
lnd_bitcoingold_datadir:

required:
- "opt-add-zmq"
- "opt-add-zmq"
46 changes: 23 additions & 23 deletions docker-compose-generator/docker-fragments/bgold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ version: "3"

services:
bgoldd:
restart: unless-stopped
container_name: btcpayserver_bgoldd
image: kamigawabul/docker-bitcoingold: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:
- "bgold_datadir:/data"
restart: unless-stopped
container_name: btcpayserver_bgoldd
image: kamigawabul/docker-bitcoingold: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:
- "bgold_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "btg"
NBXPLORER_BTGRPCURL: http://bgoldd:43782/
NBXPLORER_BTGNODEENDPOINT: bgoldd:39388
volumes:
- "bgold_datadir:/root/.bitcoingold"
environment:
NBXPLORER_CHAINS: "btg"
NBXPLORER_BTGRPCURL: http://bgoldd:43782/
NBXPLORER_BTGNODEENDPOINT: bgoldd:39388
volumes:
- "bgold_datadir:/root/.bitcoingold"
btcpayserver:
environment:
BTCPAY_CHAINS: "btg"
BTCPAY_BTGEXPLORERURL: http://nbxplorer:32838/
environment:
BTCPAY_CHAINS: "btg"
BTCPAY_BTGEXPLORERURL: http://nbxplorer:32838/
volumes:
bgold_datadir:
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:
links:
- clightning_bitcoin
expose:
- "9737"
- "9737"

clightning_bitcoin_rest:
image: saubyk/c-lightning-rest:0.3.0
Expand Down Expand Up @@ -87,8 +87,8 @@ services:
- "clightning_bitcoin_rtl_datadir:/data"
- "clightning_bitcoin_rest_datadir:/etc/clightning_bitcoin_rest"
expose:
- "3000"
- "3000"

btcpayserver:
environment:
BTCPAY_BTCLIGHTNING: "type=clightning;server=unix://etc/clightning_bitcoin/lightning-rpc"
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-generator/docker-fragments/bitcoin-eclair.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ services:
-Declair.bitcoind.zmqblock=tcp://bitcoind:28332
-Declair.bitcoind.zmqtx=tcp://bitcoind:28333
expose:
- "9735" # server port
- "8080" # api port
- "9735" # server port
- "8080" # api port
volumes:
- "bitcoin_datadir:/etc/bitcoin"
- "eclair_bitcoin_datadir:/data"
links:
- bitcoind

bitcoin_rtl:
image: shahanafarooqui/rtl:0.8.2
restart: unless-stopped
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-generator/docker-fragments/bitcoin-lnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ services:
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=lnd:d031f7567c5b02ba95524170e51c77f4$$827ce5412f653d6613c2f480e521eb437c866b999bdeb2ee4f9c41d3b00dff1c
nginx:
links:
- "lnd_bitcoin"
Expand All @@ -99,4 +99,4 @@ volumes:
lnd_bitcoin_rtl_datadir:

required:
- "opt-add-zmq"
- "opt-add-zmq"
54 changes: 27 additions & 27 deletions docker-compose-generator/docker-fragments/bitcoin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ version: "3"

services:
bitcoind:
restart: unless-stopped
container_name: btcpayserver_bitcoind
image: btcpayserver/bitcoin:0.20.1
environment:
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BITCOIN_WALLETDIR: "/walletdata"
BITCOIN_EXTRA_ARGS: |
rpcport=43782
rpcbind=0.0.0.0:43782
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoin_datadir:/data"
- "bitcoin_wallet_datadir:/walletdata"
restart: unless-stopped
container_name: btcpayserver_bitcoind
image: btcpayserver/bitcoin:0.20.1
environment:
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BITCOIN_WALLETDIR: "/walletdata"
BITCOIN_EXTRA_ARGS: |
rpcport=43782
rpcbind=0.0.0.0:43782
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoin_datadir:/data"
- "bitcoin_wallet_datadir:/walletdata"
nbxplorer:
environment:
NBXPLORER_CHAINS: "btc"
NBXPLORER_BTCRPCURL: http://bitcoind:43782/
NBXPLORER_BTCNODEENDPOINT: bitcoind:39388
volumes:
- "bitcoin_datadir:/root/.bitcoin"
environment:
NBXPLORER_CHAINS: "btc"
NBXPLORER_BTCRPCURL: http://bitcoind:43782/
NBXPLORER_BTCNODEENDPOINT: bitcoind:39388
volumes:
- "bitcoin_datadir:/root/.bitcoin"
btcpayserver:
environment:
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
environment:
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoin_datadir:
bitcoin_wallet_datadir:
bitcoin_wallet_datadir:
54 changes: 27 additions & 27 deletions docker-compose-generator/docker-fragments/bitcoinplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ version: "3"

services:
bitcoinplusd:
restart: unless-stopped
container_name: btcpayserver_bitcoinplusd
image: chekaz/docker-bitcoinplus:2.7.0
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoinplus_datadir:/data"
restart: unless-stopped
container_name: btcpayserver_bitcoinplusd
image: chekaz/docker-bitcoinplus:2.7.0
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoinplus_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "xbc"
NBXPLORER_XBCRPCURL: http://bitcoinplusd:43782/
NBXPLORER_XBCNODEENDPOINT: bitcoinplusd:39388
NBXPLORER_XBCRPCUSER: "NBXPLORER_XBCRPCUSER"
NBXPLORER_XBCRPCPASSWORD: "NBXPLORER_XBCRPCPASS"
links:
- bitcoinplusd
volumes:
- "bitcoinplus_datadir:/root/.bitcoinplus"
environment:
NBXPLORER_CHAINS: "xbc"
NBXPLORER_XBCRPCURL: http://bitcoinplusd:43782/
NBXPLORER_XBCNODEENDPOINT: bitcoinplusd:39388
NBXPLORER_XBCRPCUSER: "NBXPLORER_XBCRPCUSER"
NBXPLORER_XBCRPCPASSWORD: "NBXPLORER_XBCRPCPASS"
links:
- bitcoinplusd
volumes:
- "bitcoinplus_datadir:/root/.bitcoinplus"
btcpayserver:
environment:
BTCPAY_CHAINS: "xbc"
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
environment:
BTCPAY_CHAINS: "xbc"
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoinplus_datadir:
24 changes: 12 additions & 12 deletions docker-compose-generator/docker-fragments/bitcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ services:
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"
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"
environment:
BTCPAY_BTXEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "btx"

volumes:
bitcore_datadir:
bitcore_datadir:
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST},${BTCPAY_ADDITIONAL_HOSTS}
VIRTUAL_HOST_NAME: "btcpay"
SSL_POLICY: Mozilla-Modern
SSL_POLICY: Mozilla-Modern

# Let's encrypt settings
LETSENCRYPT_HOST: ${BTCPAY_HOST},${BTCPAY_ADDITIONAL_HOSTS}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ version: "3"

services:
btcpayserver:
ports:
ports:
- "80:49392"

exclusive:
- proxy
- proxy
8 changes: 4 additions & 4 deletions docker-compose-generator/docker-fragments/btcpayserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ services:
links:
- postgres
volumes:
- "btcpay_datadir:/datadir"
- "nbxplorer_datadir:/root/.nbxplorer"
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"
- "btcpay_datadir:/datadir"
- "nbxplorer_datadir:/root/.nbxplorer"
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"

volumes:
btcpay_datadir:
Expand All @@ -34,4 +34,4 @@ required:
- "nbxplorer"
- "btcpayserver"
recommended:
- "opt-add-tor"
- "opt-add-tor"
46 changes: 23 additions & 23 deletions docker-compose-generator/docker-fragments/dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ version: "3"

services:
dashd:
restart: unless-stopped
container_name: btcpayserver_dashd
image: btcpayserver/dash:0.14.0.1
environment:
BITCOIN_EXTRA_ARGS: |
${NBITCOIN_NETWORK:-regtest}=1
port=9999
rpcport=9998
whitelist=0.0.0.0/0
expose:
- "9998"
- "9999"
volumes:
- "dash_datadir:/data"
restart: unless-stopped
container_name: btcpayserver_dashd
image: btcpayserver/dash:0.14.0.1
environment:
BITCOIN_EXTRA_ARGS: |
${NBITCOIN_NETWORK:-regtest}=1
port=9999
rpcport=9998
whitelist=0.0.0.0/0
expose:
- "9998"
- "9999"
volumes:
- "dash_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "dash"
NBXPLORER_DASHRPCURL: http://dashd:9998/
NBXPLORER_DASHNODEENDPOINT: dashd:9999
volumes:
- "dash_datadir:/root/.dashcore"
environment:
NBXPLORER_CHAINS: "dash"
NBXPLORER_DASHRPCURL: http://dashd:9998/
NBXPLORER_DASHNODEENDPOINT: dashd:9999
volumes:
- "dash_datadir:/root/.dashcore"
btcpayserver:
environment:
BTCPAY_CHAINS: "dash"
BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/
environment:
BTCPAY_CHAINS: "dash"
BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/
volumes:
dash_datadir:
Loading

0 comments on commit ea9abe6

Please sign in to comment.