From 18e746cd942a9cd578151eb32f88fd7e14d345a5 Mon Sep 17 00:00:00 2001 From: kunsanglee Date: Sat, 10 Aug 2024 16:04:05 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20yml,=20Dockerfile=20TZ=20Asia/Seoul?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/Dockerfile | 2 +- server/src/main/resources/application.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index ae8c9c880..df2cf44e0 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -6,4 +6,4 @@ COPY /build/libs/*.jar /app/haengdong-0.0.1-SNAPSHOT.jar EXPOSE 8080 ENTRYPOINT ["java"] -CMD ["-Dspring.profiles.active=${SPRING_PROFILES_ACTIVE}", "-jar", "haengdong-0.0.1-SNAPSHOT.jar"] +CMD ["-Dspring.profiles.active=${SPRING_PROFILES_ACTIVE}", "-Duser.timezone=Asia/Seoul", "-jar", "haengdong-0.0.1-SNAPSHOT.jar"] diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 425a2c5a0..a7ad1efd3 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -16,6 +16,7 @@ spring: properties: hibernate: format_sql: true + jdbc.time_zone: Asia/Seoul show-sql: true cors: