Skip to content
Merged
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

echo "=== Health Check (최대 60초) ==="
for i in \$(seq 1 12); do
if curl -sf http://localhost:7300/health > /dev/null; then
if curl -sf http://localhost:7300/actuator/health > /dev/null; then
echo "Health check 통과"
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
images: ghcr.io/wisoft-prepair/backend-java
tags: |
type=raw,value=latest
type=sha,prefix=
Expand Down
8 changes: 3 additions & 5 deletions docker-compose-prod.yml → docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ services:
image: fluent/fluent-bit:3.2
container_name: interview-fluent-bit
volumes:
- ./fluentbit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
- ./fluentbit/parsers.conf:/fluent-bit/etc/parsers.conf:ro
- ./fluent-bit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
- ./fluent-bit/parsers.conf:/fluent-bit/etc/parsers.conf:ro
Comment on lines +6 to +7
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

docker-compose.prod.yml 파일이 docker/ 디렉토리로 이동함에 따라 설정 파일들의 상대 경로를 확인해야 합니다. 만약 fluent-bit 설정 폴더가 프로젝트 루트에 위치한다면, 경로를 ../fluent-bit/...로 수정해야 합니다. 현재 설정된 ./fluent-bit/docker/fluent-bit/ 디렉토리를 가리키므로 파일을 찾지 못할 수 있습니다. 또한 폴더명이 fluentbit에서 fluent-bit으로 변경되었는지도 함께 확인해 주세요.

      - ../fluent-bit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
      - ../fluent-bit/parsers.conf:/fluent-bit/etc/parsers.conf:ro

ports:
- "24224:24224"
environment:
Expand All @@ -18,8 +18,6 @@ services:
postgres:
image: postgres:17
container_name: interview-postgres
ports:
- "${POSTGRES_PORT}:5432"
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
Expand All @@ -41,7 +39,7 @@ services:
ports:
- "7300:7300"
env_file:
- .env
- ../.env
environment:
- SPRING_PROFILES_ACTIVE=prod
- TZ=Asia/Seoul
Expand Down
Loading