Skip to content

fix: preserve existing Pi compose volumes - #8

Merged
coom1222 merged 1 commit into
mainfrom
fix/preserve-production-compose-project
Sep 6, 2026
Merged

fix: preserve existing Pi compose volumes#8
coom1222 merged 1 commit into
mainfrom
fix/preserve-production-compose-project

Conversation

@coom1222

@coom1222 coom1222 commented Sep 6, 2026

Copy link
Copy Markdown
Member

문제

운영 Pi의 Docker Compose 프로젝트명은 devops이고 영속 볼륨은 devops_db_data, devops_minio_data입니다. 배포 스크립트가 rallytrack을 강제하면 빈 볼륨을 만들거나 기존 고정 컨테이너 이름과 충돌할 수 있습니다.

변경

  • Pi 배포 및 롤백에서 기본 Compose 프로젝트명을 devops로 사용
  • 다른 기존 프로젝트명은 RALLYTRACK_COMPOSE_PROJECT로 재정의 가능
  • CI에 운영 Compose identity 회귀 검사 추가
  • 운영 문서와 DB 명령 예시 정정

검증

  • bash -n pi/deploy.sh ml-server/deploy-ai.sh
  • Compose identity 회귀 검사
  • git diff --check
  • PR CI에서 Compose 모델과 MariaDB migration/rollback 검증

@coom1222
coom1222 merged commit 34996d2 into main Sep 6, 2026
5 checks passed
@coom1222
coom1222 deleted the fix/preserve-production-compose-project branch September 6, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant