add resources key to docker compose jvm options (#3404)

This commit is contained in:
Tobias
2025-04-07 05:26:37 +02:00
committed by GitHub
parent 5fad540c57
commit 66d0605502

View File

@@ -46,8 +46,9 @@ To let the JVM calculate the heap size from the container declared memory limit,
MEMORY: ""
JVM_XX_OPTS: "-XX:MaxRAMPercentage=75"
deploy:
limits:
memory: 4G
resources:
limits:
memory: 4G
```
!!! important