Configuration
By default, Adamite will attempt to connect to a locally running RethinkDB instance on the default port of 28015. You can change this within the adamite.js config file.
{
name: "database",
service: require("@adamite/service-database"),
options: {
adapter: new require("@adamite/service-database/adapters/rethinkdb")({
host: "localhost",
port: 28015,
defaultDb: "default"
}),
rules: require("./database/rules")
}
}Last updated
Was this helpful?