Skip to content

Commit

Permalink
[BSVR-202] 프로메테우스 scrape 안되는 이슈 트러블슈팅 (#130)
Browse files Browse the repository at this point in the history
* feat: dev 배포 스크립트에 loki url 추가

* feat: prod 수동 배포 스크립트에 loki url 추가

* feat: logback-spring.xml에 yml 파일이 아닌 환경변수만 사용하도록 수정

* feat: 9292 docker port mapping
  • Loading branch information
pminsung12 authored Aug 12, 2024
1 parent ea132a5 commit 5c4660e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
docker rm spot-server-dev || true
docker run -d --name spot-server-dev \
-p 8080:8080 \
-p 9292:9292 \
-e SPRING_PROFILES_ACTIVE=dev \
-e SPRING_DATASOURCE_URL=${{ secrets.DEV_DB_URL }} \
-e SPRING_DATASOURCE_USERNAME=${{ secrets.DEV_DB_USERNAME }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/manual-prod-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
docker rm spot-server-prod || true
docker run -d --name spot-server-prod \
-p 8080:8080 \
-p 9292:9292 \
-e SPRING_PROFILES_ACTIVE=prod \
-e SPRING_DATASOURCE_URL=${{ secrets.PROD_DB_URL }} \
-e SPRING_DATASOURCE_USERNAME=${{ secrets.PROD_DB_USERNAME }} \
Expand Down

0 comments on commit 5c4660e

Please sign in to comment.