mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-23 09:26:24 +00:00
19 lines
577 B
JavaScript
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"));
|
|
}
|
|
|
|
}; |