🔧 Reverting to nats for transporter needs
This commit is contained in:
@@ -3,7 +3,7 @@ LOGGER=true
|
|||||||
LOGLEVEL=info
|
LOGLEVEL=info
|
||||||
SERVICEDIR=dist/services
|
SERVICEDIR=dist/services
|
||||||
|
|
||||||
TRANSPORTER=redis://redis:6379
|
TRANSPORTER=nats://localhost:4222
|
||||||
COMICS_DIRECTORY=/Users/rishi/work/threetwo-core-service/comics
|
COMICS_DIRECTORY=/Users/rishi/work/threetwo-core-service/comics
|
||||||
USERDATA_DIRECTORY=/Users/rishi/work/threetwo-core-service/userdata
|
USERDATA_DIRECTORY=/Users/rishi/work/threetwo-core-service/userdata
|
||||||
REDIS_URI=redis://redis:6379
|
REDIS_URI=redis://redis:6379
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ const brokerConfig: BrokerOptions = {
|
|||||||
// More info: https://moleculer.services/docs/0.14/networking.html
|
// 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.
|
// 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.
|
// In production you can set it via `TRANSPORTER=nats://localhost:4222` environment variable.
|
||||||
transporter: process.env.REDIS_URI || "redis://localhost:6379",
|
transporter: "nats://localhost:4222",
|
||||||
|
|
||||||
// Define a cacher.
|
// Define a cacher.
|
||||||
// More info: https://moleculer.services/docs/0.14/caching.html
|
// More info: https://moleculer.services/docs/0.14/caching.html
|
||||||
|
|||||||
Reference in New Issue
Block a user