btcpayserver-docker/docker-compose-generator/docker-fragments/nbxplorer.yml
2026-06-25 22:00:03 +09:00

28 lines
870 B
YAML

services:
nbxplorer:
restart: unless-stopped
container_name: generated_nbxplorer_1
image: nicolasdorier/nbxplorer:2.6.8
expose:
- "32838"
environment:
NBXPLORER_NETWORK: ${NBITCOIN_NETWORK:-regtest}
NBXPLORER_BIND: 0.0.0.0:32838
NBXPLORER_TRIMEVENTS: 10000
NBXPLORER_SIGNALFILESDIR: /datadir
NBXPLORER_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer${NBITCOIN_NETWORK:-regtest}
links:
- postgres
volumes:
- "nbxplorer_datadir:/datadir"
btcpayserver:
environment:
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-regtest}
volumes:
- "nbxplorer_datadir:/root/.nbxplorer"
volumes:
nbxplorer_datadir: