From 5e28d19280e53b7ff9e11fcf5692956066903309 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 17 Mar 2022 14:43:20 -0700 Subject: [PATCH] Reduce minecraft server ram allocation --- homelab/server/config/minecraft/bmcp.yml | 2 +- homelab/server/config/minecraft/e6-056.yml | 2 +- homelab/server/config/minecraft/e6-dev.yml | 11 ++++++++++- homelab/server/config/minecraft/e6.yml | 4 ++-- homelab/server/config/minecraft/vanilla.yml | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/homelab/server/config/minecraft/bmcp.yml b/homelab/server/config/minecraft/bmcp.yml index ce0daf44..9d9569bb 100644 --- a/homelab/server/config/minecraft/bmcp.yml +++ b/homelab/server/config/minecraft/bmcp.yml @@ -6,7 +6,7 @@ services: container_name: bmcp environment: - EULA=TRUE - - MAX_MEMORY=8G + - MAX_MEMORY=4G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.2.22 diff --git a/homelab/server/config/minecraft/e6-056.yml b/homelab/server/config/minecraft/e6-056.yml index 0a096f53..9137b920 100644 --- a/homelab/server/config/minecraft/e6-056.yml +++ b/homelab/server/config/minecraft/e6-056.yml @@ -6,7 +6,7 @@ services: container_name: e6-056 environment: - EULA=TRUE - - MAX_MEMORY=12G + - MAX_MEMORY=6G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.1.31 diff --git a/homelab/server/config/minecraft/e6-dev.yml b/homelab/server/config/minecraft/e6-dev.yml index 9affd8cc..7e8354f9 100644 --- a/homelab/server/config/minecraft/e6-dev.yml +++ b/homelab/server/config/minecraft/e6-dev.yml @@ -7,9 +7,18 @@ services: environment: EULA: "TRUE" VERSION: "1.16.5" - MAX_MEMORY: 12G + MAX_MEMORY: 8G TYPE: CURSEFORGE CF_SERVER_MOD: "https://media.forgecdn.net/files/3683/595/Enigmatica6Server-1.0.0.zip" + + OVERRIDE_SERVER_PROPERTIES: "true" + MOTD: "Jafner.net's Enigmatica 6 server! (v1.0.0)" + DIFFICULTY: "normal" + OPS: "jafner425" + MAX_TICK_TIME: "120000" + VIEW_DISTANCE: "16" + ALLOW_FLIGHT: "TRUE" + # ENABLE_RCON: "true" # RCON_PORT: 25575 # RCON_PASSWORD: ${RCON_PASSWORD} diff --git a/homelab/server/config/minecraft/e6.yml b/homelab/server/config/minecraft/e6.yml index ea5719e2..327f8c13 100644 --- a/homelab/server/config/minecraft/e6.yml +++ b/homelab/server/config/minecraft/e6.yml @@ -6,13 +6,13 @@ services: container_name: e6 environment: - EULA=TRUE - - MAX_MEMORY=12G + - MAX_MEMORY=8G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.2.29 - OPS=jafner425 - ENABLE_RCON=true - + - RCON_PASSWORD=${RCON_PASSWORD} volumes: - $DOCKER_DATA/e6:/data:rw diff --git a/homelab/server/config/minecraft/vanilla.yml b/homelab/server/config/minecraft/vanilla.yml index 8bd7e4a3..54316bdd 100644 --- a/homelab/server/config/minecraft/vanilla.yml +++ b/homelab/server/config/minecraft/vanilla.yml @@ -7,7 +7,7 @@ services: - EULA=TRUE - VERSION=1.18.1 - OPS=mollymsmom - - MAX_MEMORY=6G + - MAX_MEMORY=4G volumes: - $DOCKER_DATA/vanilla:/data:rw networks: