fix(deploy): SSH 호스트 IP 동적 감지 + health check 개선 #45

병합
claude-bot hotfix/deploy-healthcheck 에서 main 로 2 commits 를 머지했습니다 2026-03-18 08:31:35 +09:00

2 커밋

작성자 SHA1 메시지 날짜
b788ccbb05 fix(deploy): SSH 호스트 IP 동적 감지 (ip route default gateway)
하드코딩 172.17.0.1 → ip route에서 default gateway 자동 추출.
CI 컨테이너가 services_devnet(172.18.x.x) 사용 시에도 정상 동작.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 08:31:10 +09:00
67fc341fc8 fix(deploy): health check 401 대응 + PressureCollector 중복 방지
- deploy.yml: health check에서 HTTP 401/403도 정상 기동으로 판정 (인증 필요 엔드포인트)
- health check timeout 30초 → 60초
- PressureCollector: save 전 existsByStationAndReadingTime으로 중복 확인
  (JPA unique constraint 예외 → Hibernate 세션 오염 방지)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 08:25:33 +09:00