From 34dd5650b276bb44d7c9a9c63273fd4611682a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D1=81=D1=82=D0=BD=D0=BE=D0=B2=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9?= Date: Wed, 30 Oct 2024 10:42:52 +0300 Subject: [PATCH] =?UTF-8?q?JAVA=5FTOOL=5FOPTIONS=20=D0=B2=20=D0=BD=D0=B0?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D1=81=D1=82=D0=B5?= =?UTF-8?q?=D0=BA=D0=B0,=20=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20Dockerfi?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3bacdb8..d59a575 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,9 @@ services: target: /data/hikari.properties entrypoint: ["java", "-Dhikaricp.configurationFile=/data/hikari.properties", "-jar", "/app.war"] + environment: + JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90" + labels: - "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)" - "traefik.http.routers.expertisa-${BRANCH}.tls=true" @@ -86,7 +89,7 @@ configs: username: dwh password: ${DWH_PASSWORD} audit.enabled: true - + hikari: content: | maximumPoolSize=3 \ No newline at end of file