Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Infra — 현대 파츠 통합 부품 ERP 인프라

본 레포는 통합 부품 ERP 시스템의 인프라/배포 자산팀 공통 규약을 담는 단일 진실 공급원입니다.


한 줄로 띄우기

cd compose
cp .env.example .env       # 최초 1회
docker compose up -d

기본 동작:

  • PostgreSQLlocalhost:5432 (서비스별 DB 자동 생성)
  • Adminer DB 관리 UI — http://localhost:8090

종료:

docker compose down          # 컨테이너만 제거 (데이터 유지)
docker compose down -v       # 볼륨까지 제거 (초기화)

디렉토리 구조

경로 용도
compose/ 로컬 통합 환경 docker-compose
compose/init/ Postgres 컨테이너 최초 기동 시 실행되는 SQL
templates/ 각 백엔드 레포가 복사해 쓰는 표준 템플릿
scripts/ 클라우드 배포 토글 스크립트 — Day 18 이후, ECS 전환 시 작성

도메인 서비스 통합 순서

각 백엔드 담당자가 자기 도메인 레포에서 다음을 수행:

  1. templates/Dockerfile.spring을 자기 레포 루트에 복사 (필요 시 포트만 수정)
  2. 로컬에서 이미지 빌드 확인 → docker build -t {service}-backend .
  3. GitLab Container Registry로 푸시
  4. Infra 레포의 compose/docker-compose.yml에서 해당 서비스 블록 주석 해제

포트 할당

서비스 포트
Gateway 8080
User-Backend 8081
Item-Backend 8082
Inventory-Backend 8083
Procurement-Backend 8084
Sales-Backend 8085
Frontend 5173
Postgres 5432
Adminer 8090
RabbitMQ AMQP / UI (도전영역) 5672 / 15672

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors