🔧 Reverted

This commit is contained in:
2024-05-16 14:15:09 -04:00
parent a06896ffcc
commit 8dcb17a6a0
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ LOGGER=true
LOGLEVEL=info
SERVICEDIR=dist/services
TRANSPORTER=nats://localhost:4222
COMICS_DIRECTORY=/Users/rishi/work/threetwo-core-service/comics
USERDATA_DIRECTORY=/Users/rishi/work/threetwo-core-service/userdata
REDIS_URI=redis://redis:6379

View File

@@ -90,7 +90,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: "nats://localhost:4222",
transporter: process.env.REDIS_URI,
// Define a cacher.
// More info: https://moleculer.services/docs/0.14/caching.html