mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-11 14:37:13 +00:00
add resources key to docker compose jvm options (#3404)
This commit is contained in:
1 parent
5fad540c57
commit
66d0605502
1 file changed
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user