修改时区
parent
f28aa2390a
commit
d458b5f518
|
|
@ -7,6 +7,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /root/gunshiApp/xyt:/app
|
- /root/gunshiApp/xyt:/app
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
environment:
|
environment:
|
||||||
- SPRING_PROFILES_ACTIVE=prod
|
- SPRING_PROFILES_ACTIVE=prod
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
command: java -jar /app/gunshi-project-xyt-1.0-SNAPSHOT.jar
|
command: java -jar /app/gunshi-project-xyt-1.0-SNAPSHOT.jar
|
||||||
Loading…
Reference in New Issue