diff --git a/infra/Dockerfile b/infra/Dockerfile index c7fb704b..4dadfa35 100644 --- a/infra/Dockerfile +++ b/infra/Dockerfile @@ -4,5 +4,6 @@ ARG SPRING_ACTIVE_PROFILES ENV SPRING_ACTIVE_PROFILES ${SPRING_ACTIVE_PROFILES} COPY build/libs/moabam-server-0.0.1-SNAPSHOT.jar moabam.jar +COPY src/main/resources/config/agent.java/ agent.java -ENTRYPOINT ["java", "-jar", "-Duser.timezone=Asia/Seoul", "-Dspring.profiles.active=${SPRING_ACTIVE_PROFILES}", "/moabam.jar"] +ENTRYPOINT ["java", "-javaagent:agent.java/scouter.agent.jar", "-Dsocuter.config=agent.java/conf/scouter.conf", "-jar", "-Duser.timezone=Asia/Seoul", "-Dspring.profiles.active=${SPRING_ACTIVE_PROFILES}", "/moabam.jar"] diff --git a/src/main/resources/config b/src/main/resources/config index 05316d99..9c0202f5 160000 --- a/src/main/resources/config +++ b/src/main/resources/config @@ -1 +1 @@ -Subproject commit 05316d99c521b3a26772206d4063cc069e08c848 +Subproject commit 9c0202f51c46dd54aee081e1175c169305e04288