Added the config and upload path for importing files.
parent
0a7fcacdc6
commit
7f923907eb
|
@ -22,4 +22,12 @@ module/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
node_modules/
|
node_modules/
|
||||||
bin/
|
bin/
|
||||||
data/*
|
!data/import/files/.gitkeep
|
||||||
|
data/import/files/*
|
||||||
|
!data/cache/.gitkeep
|
||||||
|
data/cache/*
|
||||||
|
!data/DoctrineORMModule/Proxy/.gitkeep
|
||||||
|
data/DoctrineORMModule/Proxy/*
|
||||||
|
!data/LazyServices/Proxy/.gitkeep
|
||||||
|
data/LazyServices/Proxy/*
|
||||||
|
.docker/mariaDb/data/*
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
* in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
|
* in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
|
||||||
* credentials from accidentally being committed into version control.
|
* credentials from accidentally being committed into version control.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$appdir = getenv('APP_DIR') ?: '/var/lib/monarc';
|
||||||
|
|
||||||
$package_json = json_decode(file_get_contents('./package.json'), true);
|
$package_json = json_decode(file_get_contents('./package.json'), true);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -113,4 +116,9 @@ return [
|
||||||
'baseUrl' => 'http://127.0.0.1:5005',
|
'baseUrl' => 'http://127.0.0.1:5005',
|
||||||
'apiKey' => '',
|
'apiKey' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'import' => [
|
||||||
|
'uploadFolder' => $appdir . '/data/import/files',
|
||||||
|
'isBackgroundProcessActive' => true,
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue