Add additonal filesystem for docker

This commit is contained in:
David Bomba 2024-11-24 16:13:59 +11:00
parent 4007ccb26f
commit d8f3895f99
2 changed files with 20 additions and 2 deletions

View File

@ -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);

View File

@ -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'),