The badge displayed on my repository indicates the status of the deployment verification workflow as executed on the latest commit to the main branch.
Passing: This means the most recent commit has successfully passed all deployment checks, confirming that the Docker Compose setup functions correctly as designed.
π The complete installation guide is available on my website.
π‘ For details on deploying the Minecraft Proxy, check out this link: Minecraft Server Proxy Using Docker Compose.
β Change variables in the .env
to meet your requirements.
π‘ Note that the .env
file and plugins
folder should be in the same directory as minecraft-server-docker-compose.yml
.
Create a network for your services before deploying the configuration using the command:
docker network create minecraft-server-network
Deploy Minecraft Server using Docker Compose:
docker compose -f minecraft-server-docker-compose.yml -p minecraft-server up -d
You can check the Minecraft Server status using the commands:
MINECRAFT_SERVER_CONTAINER=$(docker ps -aqf "name=minecraft-server-minecraft-server") \
&& docker exec -it $MINECRAFT_SERVER_CONTAINER mc-monitor status
You can check logs using the commands:
MINECRAFT_SERVER_CONTAINER=$(docker ps -aqf "name=minecraft-server-minecraft-server") \
&& docker logs $MINECRAFT_SERVER_CONTAINER
Apply new configuration after a change in the minecraft-server-docker-compose.yml
or .env
using the command:
docker compose -f minecraft-server-docker-compose.yml -p minecraft up -d
Connect to the Minecraft server command-line interface using the command:
MINECRAFT_SERVER_CONTAINER=$(docker ps -aqf "name=minecraft-server-minecraft-server") \
&& docker exec -i $MINECRAFT_SERVER_CONTAINER rcon-cli
The minecraft-server-data-backups
folder, holding all server backups, will be automatically created in the same directory as minecraft-server-docker-compose.yml
upon the server's initial startup.
Iβm Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.
π My website with detailed IT guides π¬ Follow me on YouTube π¦ Follow me on Twitter π¨ Follow me on Instagram 𧡠Follow me on Threads π Follow me on Mastodon π§ Follow me on Bluesky πΈ Follow me on Facebook π₯ Follow me on TikTok π» Follow me on LinkedIn π Follow me on GitHub
πΎ Chat with IT pros on Discord π§ Reach me at [email protected]
π Support on GitHub π Support on Patreon π₯€ Support on BuyMeaCoffee πͺ Support on Ko-fi π Support on PayPal