Initial commit.
This commit is contained in:
17
server/moleculer.config.js
Normal file
17
server/moleculer.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
const os = require("os");
|
||||
|
||||
module.exports = {
|
||||
// It will be unique when scale up instances in Docker or on local computer
|
||||
nodeID: os.hostname().toLowerCase() + "-" + process.pid,
|
||||
|
||||
logger: true,
|
||||
logLevel: "info",
|
||||
|
||||
//transporter: "nats://localhost:4222",
|
||||
|
||||
cacher: "memory",
|
||||
|
||||
metrics: true
|
||||
};
|
||||
Reference in New Issue
Block a user