From 8581f582d16e97a405d35bd35e54bd7ccef9faa7 Mon Sep 17 00:00:00 2001 From: Voss Date: Sat, 25 Nov 2023 15:55:31 -0600 Subject: [PATCH] Make JAVA OPTs user configurable in the advanced config editor --- docker-compose.yml | 1 + web3signer/Dockerfile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2149f51..3fb451e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,7 @@ services: args: UPSTREAM_VERSION: 23.11.0 environment: + JAVA_OPTS: "-Xmx4g -Xms128m" EXTRA_OPTS: "" volumes: - "web3signer_data:/data" diff --git a/web3signer/Dockerfile b/web3signer/Dockerfile index 059c5e4..d2d6d18 100644 --- a/web3signer/Dockerfile +++ b/web3signer/Dockerfile @@ -12,6 +12,5 @@ COPY /security /security COPY entrypoint.sh /usr/bin/entrypoint.sh #USER web3signer -ENV JAVA_OPTS="-Xmx4g -Xms128m" EXPOSE 9000 ENTRYPOINT /bin/bash /usr/bin/entrypoint.sh