Couldn't connect node.js and redis

I was trying to connect the node js and redis via docker-compose.I facing the issue while starting the docker-compose.I mentioned the error below.

i800 service app running on port 4001
throw er; // Unhandled ‘error’ event

Error: Redis connection to failed - connect ECONNREFUSED
at RedisClient.on_error (/usr/src/app/node_modules/kue/node_modules/redis/index.js:196:24)
at Socket. (/usr/src/app/node_modules/kue/node_modules/redis/index.js:106:14)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at emitErrorNT (net.js:1265:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Please refer issue