Skip to content

Commit bdbb5b2

Browse files
committed
update deploy
1 parent 736f46f commit bdbb5b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/docker/codepipeline/docker-compose.fullnode.main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ services:
22
tron-node-mainnet:
33
container_name: tron-node
44
image: tronprotocol/java-tron:GreatVoyage-v4.7.7 # Add specific tag if needed
5-
mem_limit: 32g
5+
mem_limit: 34g
6+
environment:
7+
- TZ=Asia/Shanghai # The metric and log date will be changed accordingly
68
ports:
79
- "8090:8090"
810
- "8091:8091"
@@ -16,6 +18,6 @@ services:
1618
- ../output-directory:/java-tron/output-directory
1719
command:
1820
- -jvm
19-
- "{-Xmx30g -Xms28g -XX:MaxDirectMemorySize=1G -XX:+UseConcMarkSweepGC -XX:+PrintGC -Xloggc:./logs/gc.log }" # Using environment variable for JVM arguments
21+
- "{-Xmx30g -Xms24g -XX:MaxDirectMemorySize=1G -XX:+UseConcMarkSweepGC -XX:+PrintGC -Xloggc:./logs/gc.log }" # Using environment variable for JVM arguments
2022
- -c
2123
- /java-tron/conf/main_net_config.conf

0 commit comments

Comments
 (0)