moleculer-config-rethinkdb
v0.2.0
Published
Moleculer Configuration Adapter for RethinkDB
Downloads
5
Readme
RethinkDB Adapter for Moleculer Config
This package provides a RethinkDB adapter for storing moleculer-config settings.
Usage
const { ServiceMixin } = require("moleculer-config");
const Adapter = require("moleculer-config-rethinkdb");
// ...
const ConfigMixin = ServiceMixin({
adapter: new Adapter({
rOpts: {
host: "rethinkdb",
port: 28015,
},
}),
});
// ...
broker.createService({
name: "config",
mixins: [ConfigMixin],
});
All options comes from JSData's RethinkDB Adapter.