Browse Source

chore: docker时区

Junling Bu 5 years ago
parent
commit
19b1ee8538
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docker/docker-compose.yml

+ 2 - 0
docker/docker-compose.yml

@@ -28,6 +28,8 @@ services:
       - ./litemall/logs:/logs
       - ./litemall/backup:/backup
       - /etc/localtime:/etc/localtime
+    environment:
+      - TZ=Asia/Shanghai
     depends_on:
       - mysql57
     restart: always