JAVA_TOOL_OPTIONS в настройки стека, вместо Dockerfile
This commit is contained in:
parent
d7102b759f
commit
34dd5650b2
@ -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
|
Loading…
Reference in New Issue
Block a user