From d458b5f518f0c1cc590e3e9fa1ee032017371ccc Mon Sep 17 00:00:00 2001 From: lyf66 Date: Thu, 8 Aug 2024 09:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 89604c7..4099fc4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: volumes: - /root/gunshiApp/xyt:/app - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro environment: - SPRING_PROFILES_ACTIVE=prod + - TZ=Asia/Shanghai command: java -jar /app/gunshi-project-xyt-1.0-SNAPSHOT.jar \ No newline at end of file