You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. version: '3'
  2. services:
  3. tnbitcoin:
  4. container_name: bitcoin-node
  5. image: kylemanna/bitcoind
  6. volumes:
  7. - ./btcnode:/bitcoin
  8. expose:
  9. - '18332'
  10. - '18333'
  11. ports:
  12. - '18332:18332'
  13. - '18333:18333'
  14. environment:
  15. RPCUSER: 'rpcuser'
  16. RPCPASSWORD: 'rpcpass'
  17. command:
  18. - '-printtoconsole'
  19. - '-testnet'
  20. - '-server'
  21. - '-rpcbind=0.0.0.0'
  22. - '-assumevalid=00000000000b45d796e8fa0d5a3232c21559c7121d11ac6902e3f714513fc95b'
  23. networks:
  24. nodenet:
  25. ipv4_address: 172.0.0.10
  26. lightning:
  27. container_name: lightning-node
  28. image: nicolasdorier/clightning:v0.6.2-3
  29. volumes:
  30. - ./clnode:/root/.lightning
  31. expose:
  32. - '9735'
  33. ports:
  34. - '9735:9735'
  35. environment:
  36. LIGHTNINGD_OPT: |
  37. bitcoin-rpcconnect=172.0.0.10
  38. bitcoin-rpcuser=rpcuser
  39. bitcoin-rpcpassword=rpcpass
  40. network=testnet
  41. log-level=debug
  42. alias=tr3y.io
  43. rgb=00aa00
  44. networks:
  45. nodenet:
  46. ipv4_address: 172.0.0.20
  47. networks:
  48. nodenet:
  49. driver: bridge
  50. ipam:
  51. driver: default
  52. config:
  53. - subnet: 172.0.0.0/24