feat:GCS 환경변수(.env) 기반 설정 지원

- config/gcs.php 추가: 환경변수 기반 설정
- GoogleCloudStorageService 우선순위 변경:
  1. DB 설정 (UI 오버라이드용)
  2. 환경변수 (.env) - 기본
  3. 레거시 파일 (fallback)
- .env.example에 GCS 설정 추가
- 서버 배포 시 .env만 설정하면 DB 설정 불필요

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-29 09:39:49 +09:00
parent 5f0b221750
commit 6b54e19a42
3 changed files with 72 additions and 13 deletions

View File

@@ -81,3 +81,8 @@ FCM_LOG_CHANNEL=stack
BAROBILL_CERT_KEY=
BAROBILL_CORP_NUM=
BAROBILL_TEST_MODE=true
# Google Cloud Storage (음성 녹음 백업)
GCS_BUCKET_NAME=
GCS_SERVICE_ACCOUNT_PATH=/var/www/sales/apikey/google_service_account.json
GCS_USE_DB_CONFIG=true