budibase/packages/server/config.sample.js

32 lines
773 B
JavaScript
Raw Normal View History

2019-06-14 11:05:46 +02:00
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
2019-06-25 23:48:22 +02:00
port: 4001,
// path to where your appDefinition etc is stored (dev time)
2019-07-13 11:35:57 +02:00
latestPackagesFolder: "./",
2019-06-25 23:48:22 +02:00
// register plugins for master
2019-06-28 23:59:27 +02:00
extraMasterPlugins: {},
2019-06-25 23:48:22 +02:00
// make modifications to master's appdefinition - e.g. add plugins
2019-07-13 11:35:57 +02:00
customizeMaster: appDefinition => appDefinition,
// false for production - serves builder if true
dev:false
2019-06-14 11:05:46 +02:00
})