Giter VIP home page Giter VIP logo

Comments (2)

claflico avatar claflico commented on July 21, 2024 1

Thanks for the reply. Apologies for the duplicate issue. I had looked through the titles and searched but must have been using poorly chosen keywords.

I think that I have it working using the macvlan.....Portainer kept throwing errors on the docker-compose.yml file but when I went to command line I got the below to launch the services.

version: '2.4'
volumes:
  creative-data:
    driver: local
  survival-data:
    driver: local
services:
  creative:
    image: itzg/minecraft-bedrock-server
    environment:
      DIFFICULTY: easy
      EULA: 'TRUE'
      GAMEMODE: creative
      LEVEL_NAME: Creative
      ONLINE_MODE: 'false'
      SERVER_NAME: Creative
      VERSION: 1.14
    volumes:
    - creative-data:/data
    ports:
    - 19132:19132/udp
    hostname: minecraft-creative
    networks:
      lan_network:
        ipv4_address: 192.X.X.216
    stdin_open: true
    tty: true
  survival:
    image: itzg/minecraft-bedrock-server
    environment:
      DIFFICULTY: easy
      EULA: 'TRUE'
      GAMEMODE: survival
      LEVEL_NAME: Survival
      ONLINE_MODE: 'false'
      SERVER_NAME: Survival
      VERSION: 1.14
    volumes:
    - survival-data:/data
    ports:
    - 19132:19132/udp
    hostname: minecraft-survival
    networks:
      lan_network:
        ipv4_address: 192.X.X.217
    stdin_open: true
    tty: true
networks:
  lan_network:
    driver: macvlan
    driver_opts:
      parent: enp2s0
    ipam:
     config:
       - subnet: 192.X.X.0/24
         gateway: 192.X.X.254

from docker-minecraft-bedrock-server.

itzg avatar itzg commented on July 21, 2024

This sounds similar to this issue #28, but that might have been of the places you saw tcpdump mentioned.

As for port 19135, I'm guessing that doesn't up in LAN games since the client is only sending broadcast packets out to port 19132.

from docker-minecraft-bedrock-server.

Related Issues (20)

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.