Created
July 22, 2025 19:28
-
-
Save jaonoctus/0ba199acc28deacf80145708d14bf7cc to your computer and use it in GitHub Desktop.
btcpay + phoenixd
This file contains hidden or 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
services: | |
phoenixd: | |
image: acinq/phoenixd | |
volumes: | |
- phoenixd:/phoenix/.phoenix | |
ports: [9740:9740] | |
btpay: | |
image: btcpayserver/btcpayserver:2.1.6 | |
entrypoint: ["dotnet", "BTCPayServer.dll"] | |
restart: on-failure | |
stop_grace_period: 1m | |
depends_on: [nbxplorer, postgres, phoenixd] | |
ports: [3003:3003] | |
environment: | |
HOME: "/data" | |
BTCPAY_DATADIR: "/data" | |
BTCPAY_PLUGINDIR: "/data/plugins" | |
BTCPAY_DOCKERDEPLOYMENT: "false" | |
BTCPAY_POSTGRES: "User ID=postgres;Host=postgres;Port=5432;Database=btcpayservermainnet" | |
BTCPAY_NETWORK: "mainnet" | |
BTCPAY_BIND: 0.0.0.0:3003 | |
BTCPAY_CHAINS: "btc" | |
BTCPAY_BTCEXPLORERURL: "http://nbxplorer:32838" | |
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorermainnet | |
volumes: | |
- btcpay:/data | |
- nbxplorer:/data/.nbxplorer | |
nbxplorer: | |
image: nicolasdorier/nbxplorer:2.5.28 | |
restart: on-failure | |
stop_grace_period: 1m | |
#user: "1000:1000" | |
environment: | |
NBXPLORER_DATADIR: "/data" | |
NBXPLORER_SIGNALFILEDIR: "/data" | |
NBXPLORER_NETWORK: "mainnet" | |
NBXPLORER_BIND: 0.0.0.0:32838 | |
NBXPLORER_CHAINS: "btc" | |
NBXPLORER_BTCRPCURL: "http://BTC_NODE_IP:8332" | |
NBXPLORER_BTCNODEENDPOINT: "BTC_NODE_SERVER_IP:8333" | |
NBXPLORER_BTCRPCUSER: "bitcoin" | |
NBXPLORER_BTCRPCPASSWORD: "bitcoin" | |
NBXPLORER_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorermainnet | |
NBXPLORER_BTCHASTXINDEX: 1 | |
volumes: | |
- nbxplorer:/data | |
depends_on: [postgres] | |
postgres: | |
image: btcpayserver/postgres:13.13 | |
command: ["-c", "random_page_cost=1.0", "-c", "shared_preload_libraries=pg_stat_statements"] | |
restart: on-failure | |
stop_grace_period: 1m | |
environment: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
volumes: | |
- postgres:/var/lib/postgresql/data | |
volumes: | |
postgres: | |
nbxplorer: | |
btcpay: | |
phoenixd: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment