fix(docker): disable heap dumps by default (#2027)
This commit is contained in:
@@ -23,7 +23,10 @@ services:
|
||||
# ALLOWED_ORIGINS=
|
||||
# Override JVM memory defaults (the image ships sensible defaults for ~512 MB heap).
|
||||
# Uncomment and adjust if you want a tighter or looser cap:
|
||||
# JAVA_TOOL_OPTIONS=-Xmx256m
|
||||
# - JDK_JAVA_OPTIONS=-Xmx256m
|
||||
# Heap dumps are disabled by default. Enable them only when debugging an OOM:
|
||||
# The JVM creates a PID-specific .hprof file in /app/data.
|
||||
# - JDK_JAVA_OPTIONS=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/app/data
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user