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: