diff --git a/config/filesystems.php b/config/filesystems.php index 2634fd5c..e8311cd7 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -40,17 +40,17 @@ /* |------------------------------------------------------------------ - | Tenant Storage Disk (Shared across API/MNG/Admin) + | Tenant Storage Disk |------------------------------------------------------------------ | - | This disk is shared across all applications via Docker volume. - | - Local (Docker): /var/www/shared-storage/tenants + | 테넌트 파일 저장소 (명함, 신분증, 통장, 게시판 첨부파일 등) + | - Local/Docker/Server: mng/storage/app/tenants | - S3: Set TENANT_STORAGE_DISK=s3 in .env | */ 'tenant' => [ 'driver' => env('TENANT_STORAGE_DRIVER', 'local'), - 'root' => env('TENANT_STORAGE_PATH', '/var/www/shared-storage/tenants'), + 'root' => env('TENANT_STORAGE_PATH', storage_path('app/tenants')), 'url' => env('APP_URL').'/tenant-storage', 'visibility' => 'public', 'throw' => false, @@ -102,7 +102,7 @@ 'links' => [ public_path('storage') => storage_path('app/public'), - public_path('tenant-storage') => env('TENANT_STORAGE_PATH', '/var/www/shared-storage/tenants'), + public_path('tenant-storage') => env('TENANT_STORAGE_PATH', storage_path('app/tenants')), ], ];