{"id":5515,"date":"2020-12-31T09:09:49","date_gmt":"2020-12-31T08:09:49","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=5515"},"modified":"2020-12-31T09:54:26","modified_gmt":"2020-12-31T08:54:26","slug":"minecraftserver-unter-docker","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=5515","title":{"rendered":"Minecraftserver unter Docker"},"content":{"rendered":"<p>Ein richtig flotter <a href=\"https:\/\/github.com\/itzg\/docker-minecraft-server\" target=\"_blank\" rel=\"noopener\">gedockerter<\/a> Minecraftserver (Forge) mit allen m\u00f6glichen Mods wie<\/p>\n<p><em>AdLods, appliedenergistics, astralsorcery, BiomesOPlenty, Botania, camera, cofh_core, corpse, curios-forge, ExtraArmor, ForgeEndertech, ftb-chunks, ftb-gui, greekfantasy, ironchest, jei, JustEnoughResources, minecolonies, Morpheus, observerlib, PackingTape, pamhc2crops, pamhc2foodcore, pamhc2foodextended, pamhc2trees, Patchouli, pneumaticcraft-repressurized, rare-ice, SereneSeasons, StorageDrawers, structurize, thermal, thermal_cultivation, thermal_expansion, thermal_innovation, thermal_locomotion, TravelersBackpack, Waystones<\/em><\/p>\n<p>und einer ca. 1GB gro\u00dfen Welt frisst weitaus weniger Ressourcen auf dem Server, als ich dachte<\/p>\n\n\t\t<style type=\"text\/css\">\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 50%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div id='gallery-1' class='gallery galleryid-5515 gallery-columns-2 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2020\/12\/cpuutilization.png'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2020\/12\/cpuutilization-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-5516\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-5516'>\n\t\t\t\tCPU utilization\n\t\t\t\t<\/dd><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2020\/12\/cpuload.png'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2020\/12\/cpuload-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-5517\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-5517'>\n\t\t\t\tCPU load\n\t\t\t\t<\/dd><\/dl><br style=\"clear: both\" \/>\n\t\t<\/div>\n\n<p>und auch die Einrichtung selbst (docker-compose, rootless mode) l\u00e4uft frisch von der Hand. Problemchen gab es nur kurz zu Beginn:<\/p>\n<ul>\n<li>Docker legte das <em>data\/<\/em> Verzeichnis f\u00fcr den falschen Benutzer an. Da hilft die <em>user<\/em> Angabe in der <em>docker-compose.yml.<\/em><\/li>\n<li>Nicht vergessen, dass <em>rcon<\/em> in den <em>data\/server.properties<\/em> enabled werden muss und ein Passwort will.<\/li>\n<\/ul>\n<p>Nach den Eintr\u00e4gen im DNS f\u00fcr den Server sub.domain.tld sollte ein <em>dig srv _minecraft._tcp.sub.domain.tld<\/em><\/p>\n<pre>_minecraft._tcp.sub.domain.tld. 3600 IN SRV 0 5 25565 sub.domain.tld.<\/pre>\n<p>liefern, dann muss in Minecraft kein Port mehr angegeben werden, was ein wenig eleganter ist.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ein richtig flotter gedockerter Minecraftserver (Forge) mit allen m\u00f6glichen Mods wie AdLods, appliedenergistics, astralsorcery, BiomesOPlenty, Botania, camera, cofh_core, corpse, curios-forge, ExtraArmor, ForgeEndertech, ftb-chunks, ftb-gui, greekfantasy, ironchest, jei, JustEnoughResources, minecolonies, Morpheus, observerlib, PackingTape, pamhc2crops, pamhc2foodcore, pamhc2foodextended, pamhc2trees, Patchouli, pneumaticcraft-repressurized, rare-ice, SereneSeasons, StorageDrawers, structurize, thermal, thermal_cultivation, thermal_expansion, thermal_innovation, thermal_locomotion, TravelersBackpack, Waystones und einer ca. 1GB gro\u00dfen Welt [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[614,615,395],"class_list":["post-5515","post","type-post","status-publish","format-standard","hentry","category-familie","tag-docker","tag-docker-compose","tag-minecraft"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5515"}],"version-history":[{"count":12,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5515\/revisions"}],"predecessor-version":[{"id":5531,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5515\/revisions\/5531"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}