From 0d567e8b884bfc62f26c21fbb8950997bab0f41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Mon, 23 Feb 2026 21:32:34 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20[storage]=20tenant=20=EC=A0=80?= =?UTF-8?q?=EC=9E=A5=EC=86=8C=20=EA=B2=BD=EB=A1=9C=EB=A5=BC=20shared-stora?= =?UTF-8?q?ge=EC=97=90=EC=84=9C=20storage/app/tenants=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tenant disk root: /var/www/shared-storage/tenants → storage_path('app/tenants') - symlink 경로도 동일하게 변경 - react git pull 시 shared-storage 삭제 문제 해결 --- config/filesystems.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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')), ], ];