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