Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Minecraft Server Docker

This project sets up a Minecraft server using Docker. It uses the PaperMC project to provide a high-performance Minecraft server.

Prerequisites

  • Docker installed on your machine

Usage

  1. Clone this repository:

    git clone https://github.com/yourusername/minecraft-server.git
    cd minecraft-server
  2. Build the Docker image:

    docker build -t minecraft-server:0.0.1 .
  3. Run the server using the provided script:

    ./run_server.sh
  4. Alternatively, you can run the server manually:

    docker run -d \
      -v $(pwd)/minecraft/merge:/minecraft/merge \
      -v $(pwd)/minecraft/world:/minecraft/world \
      -v $(pwd)/minecraft/logs:/minecraft/logs \
      -p 25565:25565 \
      --name minecraft-server \
      minecraft-server:0.0.1

Configuration

You can configure the server by editing the server.properties file. This file is copied into the Docker container when it is built.

Volumes

The following volumes are used to persist data:

  • /minecraft/merge
  • /minecraft/world
  • /minecraft/logs

Maintainer πŸ‘¨β€πŸ’»

Lucas Laredo

GitHub: @devlucaslaredo
Email: devlucaslaredo@gmail.com

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages