Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- disablewallet=1
- printtoconsole=1
- rpcauth=jfjobidon:123...xyz
- testnet=1
- txindex=1
- server=1
- rpcport=8332
- var clientBTC = new bitcoin.Client({
- host: 'bitcoin',
- port: 8332,
- user: 'jfjobidon',
- pass: 'Lw.....='
- });
- version: "3"
- services:
- watchblockchain:
- build: ./watchBlockchain
- depends_on:
- - redis
- deploy:
- replicas: 1
- restart_policy:
- condition: on-failure
- redis:
- image: redis:4.0
- command: redis-server --appendonly yes
- ports:
- - "6379:6379"
- deploy:
- placement:
- constraints: [node.role == manager]
- command: redis-server --appendonly yes
- Error: connect ECONNREFUSED 127.0.0.1:8332
Add Comment
Please, Sign In to add comment