-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat/#180-new-relic] new relic 설정
- Loading branch information
Showing
5 changed files
with
450 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
FROM openjdk:17-jdk | ||
WORKDIR /app | ||
COPY build/libs/*.jar app.jar | ||
COPY newrelic/ /app/newrelic/ | ||
EXPOSE 5000 | ||
|
||
ARG SPRING_PROFILES_ACTIVE | ||
ARG JASYPT_KEY | ||
ARG NEW_RELIC_LICENSE_KEY | ||
|
||
ENV SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-DEV} | ||
ENV JASYPT_KEY=${JASYPT_KEY:-pw} | ||
ENV NEW_RELIC_LICENSE_KEY=${NEW_RELIC_LICENSE_KEY} | ||
|
||
CMD java -jar -Duser.timezone=Asia/Seoul app.jar | ||
|
||
CMD java -javaagent:/app/newrelic/newrelic.jar -Duser.timezone=Asia/Seoul -jar app.jar |
This file contains 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
Oops, something went wrong.