DB 데이터 경로를 프로젝트 폴더 기준 상대 경로로 변경
Deploy / deploy (push) Successful in 15s

- 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:
2026-07-19 18:02:38 +09:00
parent 126c0169aa
commit f3e97d6c44
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ services:
expose:
- "5432"
volumes:
- ${DB_DATA_DIR:-/data/postgres}:/var/lib/postgresql/data
- ${DB_DATA_DIR:-./data/postgres}:/var/lib/postgresql/data
networks:
- app-network
healthcheck: