![]() Note: Convert Docker Run Into Docker Compose. Note: How to Use Docker Containers With VPN. Note: How to Change Docker Containers Restart Policy. Note: How to Add Access Control Profile on Your NAS. Note: How to Activate Email Notifications. ![]() Note: How to Schedule Start & Stop For Docker Containers. Note: How to Free Disk Space on Your NAS if You Run Docker. Note: Can I run Docker on my Synology NAS? See the supported models. ![]() Note: Find out how to update the Minecraft Java Server container with the latest image. In order to make Minecraft work via HTTPS, it’s mandatory to activate WebSocket. Remember to port forward port 25565 TCP/UDP on your router pointing to your NAS to make it accessible externally. Note: If you want to run the Minecraft Java Server container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS. Follow the instructions in the image below. ![]() Go to Direct Connect, then add your NAS Local IP followed by :25565 and click Join Server. Wait approximately 1-2 minutes, then try to access your own server via the Minecraft java edition. Go back to STEP 1 or you will deal with karma □ If everything goes right, you will see the following message at the top right of your screen: “ Success Stack successfully deployed“. It will depend on your Internet speed connection. The installation process can take up to a few minutes. Scroll down on the page until you see a button named Deploy the stack. MARIUSHOSTING is an example of a server name you have to add your own server name. Note: Before you paste the code above in the Web editor area below, change the value for SERVER_NAME and add your own server name. In the example above I have used the PAPER server you have to choose your own favorite server type. Note: Before you paste the code above in the Web editor area below, change the value for TYPE and add your favorite Server type from the following list: VANILLA, BUKKIT, SPIGOT, PAPER, TUINITY, MAGMA, MOHIST, CATSERVER, CURSEFORGE, SPONGEVANILLA, FABRIC. ( Follow my step by step guide on how to do this.) Note: Before you paste the code above in the Web editor area below, change the value numbers for UID and GID with your own values. JVM_XX_OPTS=-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 Note: Copy Paste the code below in the Portainer Stacks Web editor. On the left sidebar in Portainer, click on Stacks then + Add stack. Log into Portainer using your username and password. Note: Be careful to enter only lowercase, not uppercase letters. Inside the docker folder create one new folder and name it minecraftjava. Go to File Station and open the docker folder. Attention: Make sure you have installed the latest Portainer version. If you already have Portainer installed on your Synology NAS, skip this STEP. Install Portainer using my step by step guide. Please Support My work by Making a Donation. □ Note: This guide works perfectly with the latest Minecraft Java Server 1.19.4 release. If you want an alternative to Minecraft, try the Minetest installation on your Synology NAS or the new Minecraft Bedrock guide. In this step by step guide I will show you how to install Minecraft Java Server on your Synology NAS using Docker & Portainer. After many requests from Minecraft fans, I’ve created installation instructions for Synology NAS. If you want to run a Minecraft multiplayer server by yourself, then you have come to the right place. Internally, the game runs a server for single-player games. Minecraft servers allow players to play online or via a local area network with other people.
0 Comments
Leave a Reply. |