Move CORM settings and histories to dedicated PostgreSQL database

This commit is contained in:
2026-10-22 17:48:50 +09:00
parent 92986eb1cc
commit 399e91518c
20 changed files with 2058 additions and 84 deletions
+8 -1
View File
@@ -13,6 +13,13 @@ ITEMCODE_DB=itemcode_db
ORDERLIST_DB=orderlist_db
RETURN_DB=return_db
# CORM 설정·내역 전용 DB (서버/계정은 기존 POSTGRES_* 사용, ITEMCODE_DB와 별개)
SETTINGS_DB=corm_db
# 설정 저장소: 이전·검증 완료 후 postgres로 변경
SETTINGS_BACKEND=google
# 문자내역/수동발주내역: history_migrate.py 이전·검증 후 postgres로 변경
HISTORY_BACKEND=google
# ============================================
# 네이버 커머스 API
# ============================================
@@ -73,7 +80,7 @@ WEB_NETWORK=npm_default
# CS_RECORD_DB_PASSWORD=
# CS 기록 다음 업무일 계산에 더할 휴일(YYYY-MM-DD, 쉼표 구분)
# CS_RECORD_EXTRA_HOLIDAYS=
# 구글 연동 시간 제한(초)·동시 작업 수, 설정 시트 캐시 유효 시간(초)
# 구글 연동 시간 제한(초)·동시 작업 수, google 모드의 설정 캐시 유효 시간(초)
# GOOGLE_CONNECT_TIMEOUT=3
# GOOGLE_READ_TIMEOUT=10
# GOOGLE_WORKERS=4