Skip to content

Commit

Permalink
cicd: docker-compose.yml ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
jemin committed Dec 25, 2023
1 parent 1fbb5a1 commit f7a9a59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ FROM openjdk:17-oracle
COPY ./*.jar app.jar

# Jar ํŒŒ์ผ์„ ์‹คํ–‰ํ•œ๋‹ค
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=prod", "app.jar"]
ENTRYPOINT ["java", "-jar", "-javaagent:./pinpoint-agent-2.5.3/pinpoint-bootstrap-2.5.3.jar", "-Dpinpoint.applicationName=melly", "-Dpinpoint.config=./pinpoint-agent-2.5.3/pinpoint-root.config", "-Dspring.profiles.active=prod", "app.jar"]


4 changes: 2 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: .
ports:
- "8080:8080"
- "9090:9090"
container_name: melly-prod
environment:
- JVM_OPTS=-Xms1g -Xmx1g -XX:NewRatio=3 -verbosegc -server -XX:+HeapDumpOnOutOfMemoryError
- JVM_OPTS=-Xms1g -Xmx1g -XX:NewRatio=3 -verbosegc -server -XX:+HeapDumpOnOutOfMemoryError
- AGENT_ID=$(ip route get 1 | awk '{print $NF;exit}')

0 comments on commit f7a9a59

Please sign in to comment.