2020-01-15 04:47:44 +00:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
btcpayserver:
|
|
|
|
restart: unless-stopped
|
2020-01-21 01:32:16 +00:00
|
|
|
image: btcpayserver/btcpayserver:${BTCPAY_VERSION}
|
2020-01-15 04:47:44 +00:00
|
|
|
network_mode: host
|
|
|
|
# expose:
|
|
|
|
# - "49392"
|
|
|
|
environment:
|
|
|
|
BTCPAY_POSTGRES: User ID=postgres;Host=localhost;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
|
|
|
|
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
|
|
BTCPAY_BIND: 0.0.0.0:49392
|
|
|
|
BTCPAY_ROOTPATH: ${BTCPAY_ROOTPATH:-/}
|
2020-01-26 00:21:38 +00:00
|
|
|
BTCPAY_SSHCONNECTION: "root@localhost"
|
2020-01-15 04:47:44 +00:00
|
|
|
BTCPAY_SSHTRUSTEDFINGERPRINTS: ${BTCPAY_SSHTRUSTEDFINGERPRINTS}
|
|
|
|
BTCPAY_SSHKEYFILE: ${BTCPAY_SSHKEYFILE}
|
|
|
|
BTCPAY_SSHAUTHORIZEDKEYS: ${BTCPAY_SSHAUTHORIZEDKEYS}
|
|
|
|
BTCPAY_DEBUGLOG: btcpay.log
|
2022-03-07 04:02:30 +00:00
|
|
|
BTCPAY_DOCKERDEPLOYMENT: "true"
|
2020-01-15 04:47:44 +00:00
|
|
|
BTCPAY_CHAINS: "btc"
|
|
|
|
BTCPAY_BTCEXPLORERURL: http://localhost:32838/
|
|
|
|
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=https://localhost:10080/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;allowinsecure=true"
|
|
|
|
BTCPAY_BTCEXTERNALRTL: "server=/rtl/api/authenticate/cookie;cookiefile=/etc/lnd_bitcoin_rtl/.cookie"
|
|
|
|
BTCPAY_BTCEXTERNALLNDGRPC: "server=/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/"
|
|
|
|
BTCPAY_BTCEXTERNALLNDREST: "server=/lnd-rest/btc/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet"
|
|
|
|
BTCPAY_BTCEXTERNALLNDSEEDBACKUP: "/etc/lnd_bitcoin/data/chain/bitcoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
|
|
|
|
VIRTUAL_NETWORK: nginx-proxy
|
|
|
|
VIRTUAL_PORT: 49392
|
|
|
|
VIRTUAL_HOST: ${BTCPAY_HOST},${BTCPAY_ADDITIONAL_HOSTS}
|
|
|
|
VIRTUAL_HOST_NAME: "btcpay"
|
|
|
|
SSL_POLICY: Mozilla-Modern
|
|
|
|
LETSENCRYPT_HOST: ${BTCPAY_HOST},${BTCPAY_ADDITIONAL_HOSTS}
|
|
|
|
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
|
|
|
|
volumes:
|
|
|
|
- "btcpay_datadir:/datadir"
|
|
|
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
|
|
|
- "/mnt/hdd/mynode/lnd:/etc/lnd_bitcoin"
|
2020-01-26 00:21:38 +00:00
|
|
|
- "/root/.ssh/authorized_keys:${BTCPAY_SSHAUTHORIZEDKEYS}"
|
|
|
|
- "/root/.ssh/id_rsa_btcpay:${BTCPAY_SSHKEYFILE}"
|
2022-03-07 04:02:30 +00:00
|
|
|
- "btcpay_pluginsdir:/root/.btcpayserver/Plugins"
|
2020-01-15 04:47:44 +00:00
|
|
|
nbxplorer:
|
|
|
|
restart: unless-stopped
|
2020-01-21 01:32:16 +00:00
|
|
|
image: nicolasdorier/nbxplorer:${NBXPLORER_VERSION}
|
2020-01-15 04:47:44 +00:00
|
|
|
network_mode: host
|
|
|
|
# expose:
|
|
|
|
# - "32838"
|
|
|
|
environment:
|
|
|
|
NBXPLORER_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
|
|
NBXPLORER_BIND: 0.0.0.0:32838
|
2022-03-07 04:02:30 +00:00
|
|
|
NBXPLORER_TRIMEVENTS: 10000
|
2020-01-15 04:47:44 +00:00
|
|
|
NBXPLORER_SIGNALFILESDIR: /datadir
|
|
|
|
NBXPLORER_CHAINS: "btc"
|
|
|
|
NBXPLORER_BTCRPCURL: http://localhost:8332/
|
|
|
|
NBXPLORER_BTCNODEENDPOINT: localhost:8333
|
|
|
|
volumes:
|
|
|
|
- "nbxplorer_datadir:/datadir"
|
2022-03-07 04:02:30 +00:00
|
|
|
|
|
|
|
|
2020-01-15 04:47:44 +00:00
|
|
|
postgres:
|
|
|
|
restart: unless-stopped
|
2022-03-07 04:02:30 +00:00
|
|
|
image: btcpayserver/postgres:${POSTGRES_VERSION}
|
2020-01-15 04:47:44 +00:00
|
|
|
network_mode: host
|
2022-03-07 04:02:30 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
2020-01-15 04:47:44 +00:00
|
|
|
volumes:
|
|
|
|
- "postgres_datadir:/var/lib/postgresql/data"
|
|
|
|
volumes:
|
|
|
|
btcpay_datadir:
|
2022-03-16 03:52:10 +00:00
|
|
|
btcpay_pluginsdir:
|
2020-01-15 04:47:44 +00:00
|
|
|
postgres_datadir:
|
|
|
|
nbxplorer_datadir:
|
|
|
|
networks: {}
|