1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00
budibase/packages/server/config.sample.js

39 lines
1 KiB
JavaScript
Raw Normal View History

2019-06-14 21:05:46 +12: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-26 09:48:22 +12:00
port: 4001,
// path to where your appDefinition etc is stored (dev time)
2019-07-13 21:35:57 +12:00
latestPackagesFolder: "./",
2019-06-26 09:48:22 +12:00
// register plugins for master
2019-06-29 09:59:27 +12:00
extraMasterPlugins: {},
2019-06-26 09:48:22 +12:00
// make modifications to master's appdefinition - e.g. add plugins
2019-07-13 21:35:57 +12:00
customizeMaster: appDefinition => appDefinition,
// false for production - serves builder if true
2019-09-07 00:04:23 +12:00
dev:false,
// flags whethers your apps should make server requests to '/<your app name>/<the route>'
// should only be set to true if you are routed via a domain, and are rewriting
// the "your.domain.com" to "/<your app name>"
useAppRootPath: false
2019-06-14 21:05:46 +12:00
})