🔧 Updated REDIS_URI process env in service broker conf
This commit is contained in:
@@ -64,7 +64,7 @@ const brokerConfig: BrokerOptions = {
|
||||
// More info: https://moleculer.services/docs/0.14/networking.html
|
||||
// Note: During the development, you don't need to define it because all services will be loaded locally.
|
||||
// In production you can set it via `TRANSPORTER=nats://localhost:4222` environment variable.
|
||||
transporter: "redis://localhost:6379", // "NATS"
|
||||
transporter: process.env.REDIS_URI || "redis://localhost:6379", // "NATS"
|
||||
|
||||
// Define a cacher.
|
||||
// More info: https://moleculer.services/docs/0.14/caching.html
|
||||
|
||||
Reference in New Issue
Block a user