refactor: restructure deploy for multi-instance GCE deployment#2
Merged
refactor: restructure deploy for multi-instance GCE deployment#2
Conversation
- Remove old single-server compose files (backend, portainer, traefik) - Add 6 per-instance compose files (db, mq, app, ocr, alert, mon) - Add Traefik dual-mode config (IP mode + domain mode template) - Add monitoring configs (prometheus, loki, promtail, grafana, otel) - Add env example files (hosts, backend, mysql, rabbitmq) - Add setup-env.sh for template rendering - Update .gitignore for generated configs and secrets
- Add docs/manual-deploy.md with step-by-step guide for 6 GCE instances - Add scripts/deploy-instance.sh for single instance deployment - Add scripts/deploy-all.sh for sequential full deployment
CI: Replace broken tar upload with config validation - YAML lint, compose validation, ShellCheck, template var check CD: Replace dangerous single-server deploy with GCE matrix deploy - repository_dispatch trigger from backend CI - Sequential deployment to app/ocr/alert instances - GCP auth + gcloud compute scp/ssh based deployment - Health check after each deployment
Move Jaeger OTLP ports to 4320(gRPC)/4321(HTTP) to avoid conflict with otel-collector on port 4317/4318.
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
Changes
compose/: 6개 인스턴스별 docker-compose 파일 신규config/: Traefik, 모니터링, MySQL 설정 파일env/: 환경변수 템플릿 (hosts, backend, mysql, rabbitmq)scripts/: setup-env.sh, deploy-instance.sh, deploy-all.shdocs/manual-deploy.md: 전체 수동 배포 가이드.github/workflows/: CI (검증) + CD (배포) 워크플로우 재작성Test plan