Skip to content

Commit

Permalink
[bugfix/InhaBas#337] container 서버 시간 Asia/Seoul 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
whitem4rk committed Jul 3, 2024
1 parent 6ee2bdd commit 02551e6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
ipv4_address: 172.18.0.6
ports:
- "8888:8888"
environment:
TZ: Asia/Seoul
entrypoint: [ "java", "-jar", "app.jar" ]

prod1:
Expand All @@ -19,7 +21,8 @@ services:
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=prod1
SPRING_PROFILES_ACTIVE: prod1
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=prod1"]

prod2:
Expand All @@ -31,7 +34,8 @@ services:
ports:
- "8081:8081"
environment:
- SPRING_PROFILES_ACTIVE=prod2
SPRING_PROFILES_ACTIVE: prod2
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=prod2"]

dev1:
Expand All @@ -43,7 +47,8 @@ services:
ports:
- "8082:8082"
environment:
- SPRING_PROFILES_ACTIVE=dev1
SPRING_PROFILES_ACTIVE: dev1
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=dev1"]

dev2:
Expand All @@ -55,7 +60,8 @@ services:
ports:
- "8083:8083"
environment:
- SPRING_PROFILES_ACTIVE=dev2
SPRING_PROFILES_ACTIVE: dev2
TZ: Asia/Seoul
entrypoint: ["java", "-jar", "app.jar", "--spring.profiles.active=dev2"]


Expand Down

0 comments on commit 02551e6

Please sign in to comment.