fix:Docker 컨테이너 내 서비스 계정 파일 경로 추가
- /var/www/sales/apikey/ 경로 우선 검색 - Docker 볼륨 마운트된 sales 폴더에서 접근 가능 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -128,8 +128,9 @@ private function callVertexAiApi(AiConfig $config, string $base64Image): array
|
||||
*/
|
||||
private function getAccessToken(): ?string
|
||||
{
|
||||
// 여러 경로에서 서비스 계정 파일 찾기
|
||||
// 여러 경로에서 서비스 계정 파일 찾기 (Docker 컨테이너 및 호스트)
|
||||
$possiblePaths = [
|
||||
'/var/www/sales/apikey/google_service_account.json', // Docker 컨테이너 내 sales 볼륨
|
||||
self::SERVICE_ACCOUNT_PATH,
|
||||
storage_path('app/google_service_account.json'),
|
||||
base_path('../sales/apikey/google_service_account.json'),
|
||||
|
||||
Reference in New Issue
Block a user