Coder Social home page Coder Social logo

dmreiland / manymine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from illiteratealliterator/manymine

0.0 1.0 0.0 28 KB

Run multiple Minecraft Bedrock servers on a single host with LAN discovery.

License: MIT License

Dockerfile 1.44% JavaScript 98.56%

manymine's Introduction

manymine

A simple way to run multiple Minecraft Bedrock servers in docker containers on the same host, and be able to discover them as LAN games.

Run your Minecraft Bedrock servers on non-default ports (e.g. 60601, 60602...)

Add the label 'manymine.enable=true' to each server container you want manymine to announce to clients.

Both manymine and your minecraft servers need to be on the same docker network.

Docker Compose

Using docker compose, you'll want something like this:

version: "3.7"
services:
  manymine:
    image: illiteratealliterator/manymine
    container_name: manymine
    ports:
      - '19132:19132/udp'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

  minecraft-a:
    image: itzg/minecraft-bedrock-server
    container_name: minecraft-a
    environment:
      - EULA=TRUE
      - SERVER_NAME=Server A
      - SERVER_PORT=60601
    volumes:
      - minecraft-a-data:/data
    ports:
      - '60601:60601/udp'
    labels:
      - manymine.enable=true

  minecraft-b:
    image: itzg/minecraft-bedrock-server
    container_name: minecraft-b
    environment:
      - EULA=TRUE
      - SERVER_NAME=Server B
      - SERVER_PORT=60602
    volumes:
      - minecraft-b-data:/data
    ports:
      - '60602:60602/udp'
    labels:
      - manymine.enable=true

volumes:
  minecraft-a-data:
  minecraft-b-data:

manymine's People

Contributors

illiteratealliterator avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.