BDS 1.26.50+ uses the NetherNet transport by default: TCP SERVER_PORT for signaling plus a UDP range for gameplay. The examples published only UDP 19132, which no longer accepts connections. - Quickstart, docker run and compose examples: publish 19132/tcp and a UDP range, set SERVER_UDP_PORTS with a reachable IP - NetherNet section: ports, UDP range sizing, firewall, connection test, allow-list default, RakNet fallback - IPv6 same-port fix: mark as RakNet only - Volumes: SELinux bind-mount label note Refs #684 Co-authored-by: donateur <12554885+donateur@users.noreply.github.com>
16 lines
453 B
YAML
16 lines
453 B
YAML
services:
|
|
bds:
|
|
image: itzg/minecraft-bedrock-server
|
|
environment:
|
|
EULA: "TRUE"
|
|
# NetherNet: replace 192.168.1.10 with the IP address of the Docker host
|
|
SERVER_UDP_PORTS: "192.168.1.10:19140-19155:19140-19155"
|
|
ports:
|
|
# Note the newer NetherNet protocol uses different ports to RakNet
|
|
- "19132:19132/tcp"
|
|
- "19140-19155:19140-19155/udp"
|
|
volumes:
|
|
- ./data:/data
|
|
stdin_open: true
|
|
tty: true
|