Repository navigation
chore(deploy): compose 가 AI 추론 서버 환경변수를 컨테이너에 전달 (#155) - #156
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
3 tasks
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.
관련 Issue
Closes #155
작업 배경
application.yaml은POPPY_AI_INFERENCE_URL·..._CONNECT_TIMEOUT·..._TIMEOUT을 환경변수로 읽지만docker-compose.yml의 app 이 이를 컨테이너에 넘기지 않아, compose 로 띄우면 AI API 가 항상 503 이다. 원격 전환(AI 를 터널로 연결) 때 운영 compose 를 이 파일에서 만들면 같은 누락이 따라간다.변경 사항
application.yaml과 동일("",PT1S,PT4S).주요 설계 결정
:-PT1S/:-PT4S로 기본값을 명시한다. 빈 문자열이 전달되면 Spring 기본값을 덮어써 Duration 파싱이 실패하기 때문이다.검증 결과
docker compose config: 값 없음 →""/PT1S/PT4S,POPPY_AI_INFERENCE_URL=http://x:8090지정 → 전달됨. (컨테이너는 띄우지 않았다.)영향 범위
docker-compose.yml만. 값을 주지 않으면 동작 변화 없음.제외 범위
운영 서버의
/etc/poppy-server/compose.yaml(사람이 수정,GO_REMOTE.md1·4번), 이미지 태그 방식.체크리스트
🤖 Generated with Claude Code