1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: add import options as part of environment variables

closes https://github.com/Unleash/unleash-docker/issues/21
This commit is contained in:
Ivar Conradi Østhus 2020-11-25 16:13:21 +01:00
parent c9d3fe6d3d
commit 143fed72dc

View File

@ -48,9 +48,9 @@ function defaultOptions() {
sessionAge: TWO_DAYS,
adminAuthentication: process.env.ADMIN_AUTHENTICATION || 'unsecure',
ui: {},
importFile: undefined,
importKeepExisting: false,
dropBeforeImport: false,
importFile: process.env.IMPORT_FILE,
importKeepExisting: process.env.IMPORT_KEEP_EXISTING || false,
dropBeforeImport: process.env.IMPORT_DROP_BEFORE_IMPORT || false,
getLogger: defaultLogProvider,
customContextFields: [],
disableDBMigration: false,