Add additonal filesystem for docker
This commit is contained in:
parent
4007ccb26f
commit
d8f3895f99
|
|
@ -42,7 +42,7 @@ class SearchController extends Controller
|
|||
$user = auth()->user();
|
||||
|
||||
$this->clientMap($user);
|
||||
|
||||
|
||||
$this->invoiceMap($user);
|
||||
|
||||
return response()->json([
|
||||
|
|
@ -64,7 +64,7 @@ class SearchController extends Controller
|
|||
$elastic = ClientBuilder::fromConfig(config('elastic.client.connections.default'));
|
||||
|
||||
$params = [
|
||||
'index' => 'clients,invoices,client_contacts',
|
||||
'index' => 'clients,invoices,client_contacts,quotes,expenses,credits,recurring_invoices,vendors,vendor_contacts,purchase_orders',
|
||||
'body' => [
|
||||
'query' => [
|
||||
'bool' => [
|
||||
|
|
@ -94,6 +94,7 @@ class SearchController extends Controller
|
|||
'clients' => $this->clients,
|
||||
'client_contacts' => $this->client_contacts,
|
||||
'invoices' => $this->invoices,
|
||||
'quotes' => $this->quotes,
|
||||
'settings' => $this->settingsMap(),
|
||||
], 200);
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,23 @@ return [
|
|||
'throw' => false,
|
||||
],
|
||||
|
||||
'debian_docker' => [
|
||||
'driver' => 'local',
|
||||
'root' => storage_path('app/public/storage'),
|
||||
'url' => env('APP_URL').'/storage',
|
||||
'permissions' => [
|
||||
'file' => [
|
||||
'public' => 0664,
|
||||
'private' => 0600,
|
||||
],
|
||||
'dir' => [
|
||||
'public' => 0775,
|
||||
'private' => 0700,
|
||||
],
|
||||
],
|
||||
'throw' => false,
|
||||
],
|
||||
|
||||
'public' => [
|
||||
'driver' => 'local',
|
||||
'root' => public_path('storage'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue