Guest User

Untitled

a guest
Mar 28th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. disablewallet=1
  2. printtoconsole=1
  3. rpcauth=jfjobidon:123...xyz
  4. testnet=1
  5. txindex=1
  6. server=1
  7. rpcport=8332
  8.  
  9. var clientBTC = new bitcoin.Client({
  10. host: 'bitcoin',
  11. port: 8332,
  12. user: 'jfjobidon',
  13. pass: 'Lw.....='
  14. });
  15.  
  16. version: "3"
  17. services:
  18. watchblockchain:
  19. build: ./watchBlockchain
  20. depends_on:
  21. - redis
  22. deploy:
  23. replicas: 1
  24. restart_policy:
  25. condition: on-failure
  26. redis:
  27. image: redis:4.0
  28. command: redis-server --appendonly yes
  29. ports:
  30. - "6379:6379"
  31. deploy:
  32. placement:
  33. constraints: [node.role == manager]
  34. command: redis-server --appendonly yes
  35.  
  36. Error: connect ECONNREFUSED 127.0.0.1:8332
Add Comment
Please, Sign In to add comment