From d4f1956a5e898dea8dabc8d2a6fa933c1e01a173 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Wed, 16 Jul 2025 10:52:40 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20test-api-container=EB=A5=BC=20rb105?= =?UTF-8?q?08=5Ftest=EB=A1=9C=20=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/troubleshooting/20250714_docker_network_isolation.md | 4 ++-- .../troubleshooting/20250714_docker_network_timeout_issues.md | 4 ++-- .../troubleshooting/20250714_system_metrics_implementation.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/troubleshooting/20250714_docker_network_isolation.md b/docs/troubleshooting/20250714_docker_network_isolation.md index 8d6badb..bd7cf1c 100644 --- a/docs/troubleshooting/20250714_docker_network_isolation.md +++ b/docs/troubleshooting/20250714_docker_network_isolation.md @@ -19,7 +19,7 @@ frontend_default (172.18.0.0/16) └── frontend-frontend-1 (172.18.0.3) appnet (172.21.0.0/16) -└── test-api-container (172.21.0.2) +└── rb10508_test (172.21.0.2) ``` ## 원인 분석 @@ -52,7 +52,7 @@ docker network inspect appnet 4. **테스트** ```bash -docker exec frontend-backend-1 curl -s -o /dev/null -w "%{http_code}" http://test-api-container:10508/health +docker exec frontend-backend-1 curl -s -o /dev/null -w "%{http_code}" http://rb10508_test:10508/health # 200 응답 확인 ``` diff --git a/docs/troubleshooting/20250714_docker_network_timeout_issues.md b/docs/troubleshooting/20250714_docker_network_timeout_issues.md index 9abbb87..bcfe597 100644 --- a/docs/troubleshooting/20250714_docker_network_timeout_issues.md +++ b/docs/troubleshooting/20250714_docker_network_timeout_issues.md @@ -41,7 +41,7 @@ docker network create appnet # 컨테이너들을 공유 네트워크에 연결 docker network connect appnet frontend-backend-1 -docker network connect appnet test-api-container +docker network connect appnet rb10508_test ``` **결과**: Container-to-container 직접 통신 가능 @@ -62,7 +62,7 @@ SERVICES = { SERVICES = { "frontend": {"url": "http://frontend:5173"}, # 컨테이너 DNS "backend": {"url": "self"}, # Self-check 최적화 - "test-api": {"url": "http://test-api-container:10508"} # 컨테이너 DNS + "test-api": {"url": "http://rb10508_test:10508"} # 컨테이너 DNS } ``` diff --git a/docs/troubleshooting/20250714_system_metrics_implementation.md b/docs/troubleshooting/20250714_system_metrics_implementation.md index beb3339..652edf5 100644 --- a/docs/troubleshooting/20250714_system_metrics_implementation.md +++ b/docs/troubleshooting/20250714_system_metrics_implementation.md @@ -13,7 +13,7 @@ **해결**: - 서비스 URL을 IP 주소에서 컨테이너 이름으로 변경 - `http://172.17.0.2:5173` → `http://frontend:5173` -- `http://172.17.0.1:10508` → `http://test-api-container:10508` +- `http://172.17.0.1:10508` → `http://rb10508_test:10508` ### 2. TimescaleDB 설치 및 설정 **문제**: PostgreSQL에 TimescaleDB 확장 설치 필요