Skip to content

Commit

Permalink
refactor: yml, Dockerfile TZ Asia/Seoul 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
kunsanglee committed Aug 10, 2024
1 parent a8c9d01 commit 18e746c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 1 addition & 0 deletions server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spring:
properties:
hibernate:
format_sql: true
jdbc.time_zone: Asia/Seoul
show-sql: true

cors:
Expand Down

0 comments on commit 18e746c

Please sign in to comment.