-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config: 도커로 실행되는 mysql에서 데이터를 마운트시키도록 수정 #124
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ dist-ssr | |
.env* | ||
.flaskenv* | ||
!.env.project | ||
!.env.vault | ||
!.env.vault | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이제 기존의 /var/lib/mysql 경로에서 실행되던 mysql이 ./tmp:/var/lib/mysql이 경로로 옮겨지는건가요??
아니면, /var/lib/mysql에서 실행되는 mysql이 에러가 발생하면 ./tmp:/var/lib/mysql이 경로의 mysql이 실행되는건가요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./tmp:/var/lib/mysql 명령어가 로컬 디렉토리의 ./tmp 디렉토리와 컨테이너의 /var/lib/mysql 디렉토리를 연결시키는거라고 할 수 있어요
mysql 이미지의 /var/lib/mysql 디렉토리는 mysql 을 구성하는데 필요한 파일들과 DB 데이터를 저장하는 디렉토리에요
그렇기에 마운트를 시키면 도커 컨테이너의 해당 디렉토리에 발생하는 문제를 내 로컬 디렉토리를 확인해서 파악하고 문제를 수정할 수 있어요
해당 PR을 머지하는건 나중 회의때 만나서 얘기해보고 합치도록해요!