- DB_DATA_DIR 기본값 /data/postgres -> ./data/postgres (다른 스택과 동일하게 프로젝트 폴더 하위에 생성) - data/ gitignore 추가 - deploy: backend/frontend를 매 배포마다 force-recreate - DB 교체 시 스키마 미동기화, nginx 낡은 upstream 캐시 문제 방지 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@ DB_HOST=postgres
|
||||
DB_USER=
|
||||
DB_PASSWORD=
|
||||
DB_NAME=report_db
|
||||
# DB 데이터 저장 경로 (호스트 바인드 마운트, 기본값 /data/postgres)
|
||||
DB_DATA_DIR=/data/postgres
|
||||
# DB 데이터 저장 경로 (프로젝트 폴더 기준 상대 경로, 기본값 ./data/postgres)
|
||||
DB_DATA_DIR=./data/postgres
|
||||
|
||||
# Admin Account
|
||||
ADMIN_USER=
|
||||
|
||||
Reference in New Issue
Block a user