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 target: /data/hikari.properties
entrypoint: ["java", "-Dhikaricp.configurationFile=/data/hikari.properties", "-jar", "/app.war"] entrypoint: ["java", "-Dhikaricp.configurationFile=/data/hikari.properties", "-jar", "/app.war"]
environment:
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
labels: labels:
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)" - "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.tls=true" - "traefik.http.routers.expertisa-${BRANCH}.tls=true"
@ -86,7 +89,7 @@ configs:
username: dwh username: dwh
password: ${DWH_PASSWORD} password: ${DWH_PASSWORD}
audit.enabled: true audit.enabled: true
hikari: hikari:
content: | content: |
maximumPoolSize=3 maximumPoolSize=3