Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heyvaldemar/minecraft-server-docker-compose

Minecraft Server Using Docker Compose
https://github.com/heyvaldemar/minecraft-server-docker-compose

docker docker-compose docker-container docker-network docker-volumes minecraft minecraft-datapack minecraft-esp minecraft-forge minecraft-forge-mod minecraft-mod minecraft-paper minecraft-paper-plugin minecraft-papermc-server minecraft-plugin minecraft-server minecraft-server-management minecraft-server-plugin minecraft-server-proxy minecraft-server-software

Last synced: 5 days ago
JSON representation

Minecraft Server Using Docker Compose

Awesome Lists containing this project

README

        

# Minecraft Server Using Docker Compose

[![Deployment Verification](https://github.com/heyvaldemar/minecraft-server-docker-compose/actions/workflows/00-deployment-verification.yml/badge.svg)](https://github.com/heyvaldemar/minecraft-server-docker-compose/actions)

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](https://www.heyvaldemar.com/install-minecraft-server-using-docker-compose/).

๐Ÿ’ก For details on deploying the Minecraft Proxy, check out this link: [Minecraft Server Proxy Using Docker Compose](https://github.com/heyvaldemar/minecraft-server-proxy-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
```

# Minecraft Servers Logs

You can check logs using the commands:

```
MINECRAFT_SERVER_CONTAINER=$(docker ps -aqf "name=minecraft-server-minecraft-server") \
&& docker logs $MINECRAFT_SERVER_CONTAINER
```

# Minecraft Server Management

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
```

# Backups

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.

# Author

Iโ€™m Vladimir Mikhalev, the [Docker Captain](https://www.docker.com/captains/vladimir-mikhalev/), but my friends can call me Valdemar.

๐ŸŒ My [website](https://www.heyvaldemar.com/) with detailed IT guides\
๐ŸŽฌ Follow me on [YouTube](https://www.youtube.com/channel/UCf85kQ0u1sYTTTyKVpxrlyQ?sub_confirmation=1)\
๐Ÿฆ Follow me on [Twitter](https://twitter.com/heyValdemar)\
๐ŸŽจ Follow me on [Instagram](https://www.instagram.com/heyvaldemar/)\
๐Ÿงต Follow me on [Threads](https://www.threads.net/@heyvaldemar)\
๐Ÿ˜ Follow me on [Mastodon](https://mastodon.social/@heyvaldemar)\
๐ŸงŠ Follow me on [Bluesky](https://bsky.app/profile/heyvaldemar.bsky.social)\
๐ŸŽธ Follow me on [Facebook](https://www.facebook.com/heyValdemarFB/)\
๐ŸŽฅ Follow me on [TikTok](https://www.tiktok.com/@heyvaldemar)\
๐Ÿ’ป Follow me on [LinkedIn](https://www.linkedin.com/in/heyvaldemar/)\
๐Ÿˆ Follow me on [GitHub](https://github.com/heyvaldemar)

# Communication

๐Ÿ‘พ Chat with IT pros on [Discord](https://discord.gg/AJQGCCBcqf)\
๐Ÿ“ง Reach me at [email protected]

# Give Thanks

๐Ÿ’Ž Support on [GitHub](https://github.com/sponsors/heyValdemar)\
๐Ÿ† Support on [Patreon](https://www.patreon.com/heyValdemar)\
๐Ÿฅค Support on [BuyMeaCoffee](https://www.buymeacoffee.com/heyValdemar)\
๐Ÿช Support on [Ko-fi](https://ko-fi.com/heyValdemar)\
๐Ÿ’– Support on [PayPal](https://www.paypal.com/paypalme/heyValdemarCOM)