Guest User

Untitled

a guest
Aug 7th, 2018
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. version: '3'
  2.  
  3. networks:
  4. lightning:
  5. blockchain:
  6.  
  7. services:
  8. lp-api:
  9. networks:
  10. - lightning
  11. container_name: lnpapi
  12. build:
  13. context: ./api
  14. ports:
  15. - "3001:3001"
  16. env_file: api/.env
  17. volumes:
  18. - shared:/rpc
  19. - shared:/root/.lnd
  20. depends_on:
  21. - lp-db
  22. - lp-lnd
  23.  
  24. lp-btcd:
  25. image: btcd
  26. build:
  27. context: btcd
  28. networks:
  29. blockchain:
  30. aliases:
  31. - blockchain
  32. volumes:
  33. - shared:/rpc
  34. - bitcoin:/data
  35. environment:
  36. - RPCUSER
  37. - RPCPASS
  38. - NETWORK
  39. - DEBUG
  40. - MINING_ADDRESS
  41. entrypoint: ["./start-btcd.sh"]
  42.  
  43. lp-lnd:
  44. image: lightninglabs/lnd
  45. networks:
  46. - lightning
  47. - blockchain
  48. depends_on:
  49. - lp-btcd
  50. expose:
  51. - "10009"
  52. volumes:
  53. - shared:/rpc
  54. - shared:/root/.lnd
  55. command: --tlsextradomain="lp-lnd" --rpclisten="0.0.0.0:10009" --noencryptwallet --bitcoin.active --bitcoin.simnet --btcd.rpccert="/rpc/rpc.cert" --btcd.rpchost="blockchain" --btcd.rpcuser="devuser" --btcd.rpcpass="devpass" --debuglevel="debug"
  56.  
  57. volumes:
  58. shared:
  59. driver: local
  60. bitcoin:
  61. driver: local
Add Comment
Please, Sign In to add comment