File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ services:
1515 - " /data/jtt808:/data/jtt808"
1616 - " /data/logs/jtt808:/logs"
1717 environment :
18+ - JAVA_TOOL_OPTIONS=-Xms1024m -Xmx2048m
1819 # 监听端口
1920 - gateway_ip=${JTT808_IP:?required}
2021 - gateway_port=${JTT808_PORT}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ services:
1010 ports :
1111 - ${MAINTAIN_PORT:-8080}:8080
1212 environment :
13+ - JAVA_TOOL_OPTIONS=-Xms1024m -Xmx2048m
1314 # DB
1415 - SPRING_DATASOURCE_URL=jdbc:mysql://${MYSQL_HOST:-mysql8}:${MYSQL_PORT:-3306}/maintain?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
1516 - SPRING_DATASOURCE_USERNAME=${MYSQL_USERNAME:-root}
You can’t perform that action at this time.
0 commit comments