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();
|
$user = auth()->user();
|
||||||
|
|
||||||
$this->clientMap($user);
|
$this->clientMap($user);
|
||||||
|
|
||||||
$this->invoiceMap($user);
|
$this->invoiceMap($user);
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
|
|
@ -64,7 +64,7 @@ class SearchController extends Controller
|
||||||
$elastic = ClientBuilder::fromConfig(config('elastic.client.connections.default'));
|
$elastic = ClientBuilder::fromConfig(config('elastic.client.connections.default'));
|
||||||
|
|
||||||
$params = [
|
$params = [
|
||||||
'index' => 'clients,invoices,client_contacts',
|
'index' => 'clients,invoices,client_contacts,quotes,expenses,credits,recurring_invoices,vendors,vendor_contacts,purchase_orders',
|
||||||
'body' => [
|
'body' => [
|
||||||
'query' => [
|
'query' => [
|
||||||
'bool' => [
|
'bool' => [
|
||||||
|
|
@ -94,6 +94,7 @@ class SearchController extends Controller
|
||||||
'clients' => $this->clients,
|
'clients' => $this->clients,
|
||||||
'client_contacts' => $this->client_contacts,
|
'client_contacts' => $this->client_contacts,
|
||||||
'invoices' => $this->invoices,
|
'invoices' => $this->invoices,
|
||||||
|
'quotes' => $this->quotes,
|
||||||
'settings' => $this->settingsMap(),
|
'settings' => $this->settingsMap(),
|
||||||
], 200);
|
], 200);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,23 @@ return [
|
||||||
'throw' => false,
|
'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' => [
|
'public' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'root' => public_path('storage'),
|
'root' => public_path('storage'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue