mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-05 08:19:23 +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: ""
|
MEMORY: ""
|
||||||
JVM_XX_OPTS: "-XX:MaxRAMPercentage=75"
|
JVM_XX_OPTS: "-XX:MaxRAMPercentage=75"
|
||||||
deploy:
|
deploy:
|
||||||
limits:
|
resources:
|
||||||
memory: 4G
|
limits:
|
||||||
|
memory: 4G
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! important
|
!!! important
|
||||||
|
|||||||
Reference in new issue
Block a user