1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00
budibase/packages/server/config.sample.js
2019-06-25 22:48:22 +01:00

29 lines
No EOL
704 B
JavaScript

module.exports = () => ({
// the datastore type. should link to a module ...
// ../datastores/datastores/<datastore>.js
datastore: "local",
// a config object passed to the datastore.databaseManager
datastoreConfig: {
rootPath: "./.data"
},
// cookie signing keys,these are secret
keys: ["secret1", "secret1"],
// port for http server to listen on
port: 4001,
// path to where your appDefinition etc is stored (dev time)
latestAppsPath: "./appPackages",
// register plugins for master
masterPlugins: {},
// make modifications to master's appdefinition - e.g. add plugins
customizeMaster: appDefinition => appDefinition
})