- 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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user