Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

When Update, maintain user datas #17

@recoma96

Description

@recoma96

해당 어플리케이션은 서버를 껏다가 켜도 데이터는 유지된다.
그러나, 업데이트를 위해, 기존 Docker Container를 삭제하고 새 버전의 Docker Container를 생성할 경우, 프로세스 특성상, 모든 유저데이터가 날아가고 초기화 된다. 그 이유는 Docker Container를 처음 생성할 시, DB, Storage를 전부 제거하고 다시 생성하는 Migrate 명령어가 작동되기 때문이다.
Migrate 명령어 또는 함수에서 DB, Storage 상태를 확인하고 데이터를 유지하는 프로세스를 추가해야, 도커를 이용한 업데이트를 진행할 때 차질이 없다.

Metadata

Metadata

Assignees

Labels

change기능 수정enhancementNew feature or requestinvalidThis doesn't seem rightsecurityAbout Security

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions