From 02551e6f5b73c79fa4aadb0622821657a9ab5bcf Mon Sep 17 00:00:00 2001 From: whitemark Date: Wed, 3 Jul 2024 22:02:11 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix/#337]=20container=20=EC=84=9C=EB=B2=84?= =?UTF-8?q?=20=EC=8B=9C=EA=B0=84=20Asia/Seoul=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f5cba56b..ec20d5cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,8 @@ services: ipv4_address: 172.18.0.6 ports: - "8888:8888" + environment: + TZ: Asia/Seoul entrypoint: [ "java", "-jar", "app.jar" ] prod1: @@ -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: @@ -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: @@ -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: @@ -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"]