mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-13 16:01:52 +00:00
fix: add import options as part of environment variables
closes https://github.com/Unleash/unleash-docker/issues/21
This commit is contained in:
+3
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user