Skip to content

Commit

Permalink
refactor: prometheus 설정 추가 (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosow0212 authored Aug 16, 2023
1 parent b0b00a9 commit 82e57f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
sudo docker stop backend || true
sudo docker container prune -f
sudo docker run -d -p 8080:8080 \
sudo docker run -d -p 8080:8080 -p 8088:8088 \
-e "SPRING_PROFILE=prod" \
-e "ENCRYPT_KEY=${{secrets.JASYPT_KEY}}" \
-e "DATABASE_USERNAME=${{secrets.DATABASE_USERNAME}}" \
Expand Down
4 changes: 3 additions & 1 deletion backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ api:
ENC(EnFwYm2ZuLwCTIgLIiqtqqw+IdtZ4UNb2GiNWl9s46gDk2SaEu7U5XfJuijkLufufXbUwIaSsCAiG3UpbtamTRwXvebdQDHLo6Y7lPRQ4L3d+Q2m24E/Btg83V68kCu9RFpzf/6/3u+6Wl961HeZiIDdL255xcbkZlKxWy4jVELkONxUWz9awzQuJw2CwsNv4WkK5TMk4gxQTh8ZJUDyQEqmUgGtLcH+edtOnFu9IIjgLX3CvCe+7Kxv4WtP3nRlGsg+/Xbxck6mmoqdqXWppeXF0zVBOwsnr4vtWRGM/1PD6rJvQN9hnWQmW0IE3x5NDM/usDkdBMhBDmtbtpmxibbXTSc58A/idDOcUwlZrbLx89OppXNcIDYIn6iMyf3Fo6/sYMSt1YJqC1WxlkKjLqs69bZtjF5TkBHFOneAV4vHo8/2g0V/FauNYPry2FULsbgeAO2w1K1OTey+pa4DjXoLmhmfK6VEFlf2NJhAlqTPDJakfwtb8yheLVuRIqtyBaMwWtrzYdON4G/d03vvjGskqP/h5UXGwkJGpS6u+Gdcxjvs2/IfB1FO1dNA2QTr7m2wWcyAaIG6MrUtZM9Hp5qu7VvqCnK8TNrhBUoqLA1fNs6Xy6kVYhOMXqer1sGs6svoFOuu2zIPUmb+OcKWTQv9d/HgcrFtJrP/gmkYsdOUDpKCWqzIjz6KvSui3cbIAlPTgpJsbN/yTe9RU10D8kGSDcXcR75W+LtRj4Xl1Vd33ElMZ5brCdAy7dPyFo0jcUH7AWa713HTmUk6ZH0BLoeyW8tAbKpI/vUR0mbIxx7JWAFQ4hok5f4xkoXbCGoQtSvZUI8ZB9A=)

management:
server:
port: 8088
endpoints:
web:
exposure:
include: info, health, prometheus
include: prometheus

jwt:
secret: ENC(t6iKCv1Nj+ygRxG2oZCw3l4v9y0ALS2GfQwYIKvO0tRuPzFp4UYRZYfBFdBW+xQl77rOLbfIPJ13tys/tXj3Qw==)
Expand Down

0 comments on commit 82e57f3

Please sign in to comment.