fix(docker): 서비스 안정성 개선 및 nginx/env 설정 보강#165
Merged
Conversation
feat: sync api.yaml and fix api endpoints
mc-workflow-manager, mc-application-manager, mc-data-manager 등이 초기 기동 및 서버 재부팅 시 일부 올라오지 않는 문제 수정. 근본 원인 - 일부 서비스에 restart 정책이 없어, 무거운 의존 서비스(Jenkins/Nexus/ RabbitMQ/infra-manager/MariaDB)보다 먼저 떠서 크래시한 뒤 자력 복구 불가. - 재부팅 시 depends_on 순서는 적용되지 않고 restart 정책이 있는 컨테이너만 데몬이 자동 기동하므로, 정책이 없는 매니저들이 올라오지 않음. 변경 - mc-workflow-manager: restart: unless-stopped 추가, jenkins(healthy) 의존 추가 - mc-application-manager: restart: unless-stopped 추가, nexus/infra-manager (healthy)/rabbitmq(healthy) 의존 추가 - mc-application-manager-sonatype-nexus: restart: unless-stopped 추가 - mc-data-manager-db: restart: always 추가 (재부팅 시 DB 미기동 → data-manager 재시작 반복 문제 해결)
mc-workflow-manager, mc-application-manager, mc-data-manager 등이 초기 기동 및 서버 재부팅 시 일부 올라오지 않는 문제 수정. 근본 원인 - 일부 서비스에 restart 정책이 없어, 무거운 의존 서비스(Jenkins/Nexus/ RabbitMQ/infra-manager/MariaDB)보다 먼저 떠서 크래시한 뒤 자력 복구 불가. - 재부팅 시 depends_on 순서는 적용되지 않고 restart 정책이 있는 컨테이너만 데몬이 자동 기동하므로, 정책이 없는 매니저들이 올라오지 않음. 변경 - mc-workflow-manager: restart: unless-stopped 추가, jenkins(healthy) 의존 추가 - mc-application-manager: restart: unless-stopped 추가, nexus/infra-manager (healthy)/rabbitmq(healthy) 의존 추가 - mc-application-manager-sonatype-nexus: restart: unless-stopped 추가 - mc-data-manager-db: restart: always 추가 (재부팅 시 DB 미기동 → data-manager 재시작 반복 문제 해결)
- nginx.template.conf/local.conf에 mc-observability-front HTTPS/HTTP 프록시 서버 블록 추가 (포트 MC_OBSERVABILITY_FRONT_PORT) - docker-compose.yaml: mc-observability-front ports 제거(nginx가 처리), mc-iam-manager-nginx에 MC_OBSERVABILITY_FRONT_PORT 포트 바인딩 추가 - docker-compose.yaml: mc-observability-rabbitmq·influx·influx-2·loki restart 정책을 unless-stopped으로 변경 (서버 재시작 후 자동 복구) - api.yaml: mc-observability-fe 서비스 URL 등록 (iframe 표시에 필요)
fix(docker): 매니저 서비스 restart 정책·depends_on 보강
…nds-managers fix(docker): 서비스 restart 정책 보강 및 mc-observability-front nginx 프록시 추가
cb-spider 0.12.32, cb-tumblebug 0.12.18로 업그레이드하고 mc-observability-manager healthcheck start_period을 5m으로 설정한다. mc-observability-front depends_on을 service_started로 완화한다.
- localhost/mciam.local은 http, 원격 IP/도메인은 https로 PUBLIC_HOST 변환 - 1_setup_auto.sh FE URL fallback scheme 분기 추가 - mc-observability-front PUBLIC_HOST 변수 .env.setup 추가 - mc-data-manager nginx proxy timeout 60s → 600s
…eout fix(iam): FE iframe URL scheme 분기 및 data-manager nginx timeout 보강
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary