Closed withSang closed 2 years ago
DB 컨테이너의 /data/db 디렉토리(DB 데이터가 저장됨), 백엔드 컨테이너의 logs 디렉토리(백엔드 로그가 저장됨)를 컨테이너가 종료된 뒤에도 삭제되지 않게 하기 위해 Volume을 생성하여 해당 디렉토리들에 마운트합니다.
Summary
DB 컨테이너의 /data/db 디렉토리(DB 데이터가 저장됨), 백엔드 컨테이너의 logs 디렉토리(백엔드 로그가 저장됨)를 컨테이너가 종료된 뒤에도 삭제되지 않게 하기 위해 Volume을 생성하여 해당 디렉토리들에 마운트합니다.
Tasks