RomainLanz / adonis-bull-queue

Queue system based on BullMQ for AdonisJS
MIT License
147 stars 26 forks source link

SSL/TLS #11

Closed capoia closed 2 years ago

capoia commented 2 years ago

is possible to conect to a redis server over ssl/tls? i have a digital ocean DB and i only works with ssl.

miinion commented 2 years ago

yes,

in your config/queue.ts make it like this

connection: { host: Env.get('QUEUE_REDIS_HOST'), port: Env.get('QUEUE_REDIS_PORT', 25061), password: Env.get('QUEUE_REDIS_PASSWORD'), username: 'default', tls: {} },

RomainLanz commented 2 years ago

Have you been able to make it work @capoia?

capoia commented 2 years ago

Have you been able to make it work @capoia?

yes! thank you.

RomainLanz commented 2 years ago

Great!