44 行
1.2 KiB
YAML
44 行
1.2 KiB
YAML
version: "3"
|
|
services:
|
|
postgres:
|
|
image: postgres:9.6.5
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "postgres_datadir:/var/lib/postgresql/data"
|
|
|
|
nbxplorer:
|
|
image: nicolasdorier/nbxplorer:1.0.2.31
|
|
restart: unless-stopped
|
|
environment:
|
|
NBXPLORER_NETWORK: mainnet
|
|
NBXPLORER_BIND: 0.0.0.0:32838
|
|
NBXPLORER_CHAINS: "btc"
|
|
NBXPLORER_BTCRPCURL: https://alchemy:P9kZiHB6Q7CLrBlMsUN3n@bitcoin-mainnet.g.alchemy.com/v2/P9kZiHB6Q7CLrBlMsUN3n
|
|
NBXPLORER_BTCNODEENDPOINT: bitcoin-mainnet.g.alchemy.com:443
|
|
NBXPLORER_BTCRPCUSER: "alchemy"
|
|
NBXPLORER_BTCRPCPASSWORD: "P9kZiHB6Q7CLrBlMsUN3n"
|
|
volumes:
|
|
- "nbxplorer_datadir:/datadir"
|
|
depends_on:
|
|
- postgres
|
|
|
|
btcpayserver:
|
|
image: nicolasdorier/btcpayserver:1.0.2.106
|
|
restart: unless-stopped
|
|
ports:
|
|
- "23000:49392"
|
|
environment:
|
|
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayservermainnet
|
|
BTCPAY_NETWORK: mainnet
|
|
BTCPAY_BIND: 0.0.0.0:49392
|
|
BTCPAY_EXTERNALURL: https://btc.capay.hao.work/
|
|
BTCPAY_ROOTPATH: /
|
|
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
|
|
depends_on:
|
|
- postgres
|
|
- nbxplorer
|
|
|
|
volumes:
|
|
postgres_datadir:
|
|
nbxplorer_datadir:
|