paimon-moe-api> yarn dev
yarn run v1.22.17
$ tsnd --respawn ./src/index.ts
[INFO] 01:27:52 ts-node-dev ver. 1.1.6 (using ts-node ver. 9.1.1, typescript ver. 4.2.3)
{"message":"wish tally queue init","concurrency":2}
{"message":"wish tally summary queue init"}
{"message":"wish total queue init"}
{"message":"wish summary queue init"}
{"message":"plausible queue init"}
Server failed to start!
Error: getaddrinfo ENOTFOUND postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres'
}
{"message":"error when processing wish tally","error":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"redis"}}
{"message":"error when processing wish tally","error":{}}
Error: getaddrinfo ENOTFOUND redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[ERROR] 01:27:58 Error: getaddrinfo ENOTFOUND redis
Docker says redis is running on port 6379