steedos-platform/steedos.config.js
2023-09-19 06:42:48 +00:00

19 lines
577 B
JavaScript

require('dotenv-flow').config({});
// Moleculer Configuration
// https://moleculer.services/docs/0.14/configuration.html
module.exports = {
// Namespace of nodes to segment your nodes on the same network.
namespace: "steedos",
// Default log level for built-in console logger. It can be overwritten in logger options above.
// Available values: trace, debug, info, warn, error, fatal
logLevel: "warn",
transporter: process.env.TRANSPORTER,
// Called after broker started.
started(broker) {
broker.createService(require("@steedos/service-community"));
}
};