JAVA_TOOL_OPTIONS в настройки стека, вместо Dockerfile

This commit is contained in:
Постнов Андрей 2024-10-30 10:42:52 +03:00
parent d7102b759f
commit 34dd5650b2

View File

@ -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