Add example of MIN_MEM STOP and JAR

This commit is contained in:
Jimmy 2021-01-04 21:33:44 +13:00
parent a43de5a4f3
commit 80f5be957b
1 changed files with 3 additions and 0 deletions

View File

@ -7,7 +7,10 @@ services:
container_name: minecraft container_name: minecraft
restart: unless-stopped restart: unless-stopped
environment: environment:
MIN_MEM: 1G
MAX_MEM: 1G MAX_MEM: 1G
STOP: stop
JAR: server.jar
ports: ports:
- 25565:25565 - 25565:25565
volumes: volumes: