Skip to content

Instantly share code, notes, and snippets.

@cdrfun
Created March 20, 2024 17:31
Show Gist options
  • Save cdrfun/0b8b57ef312b819e208fd09c8d750f20 to your computer and use it in GitHub Desktop.
Save cdrfun/0b8b57ef312b819e208fd09c8d750f20 to your computer and use it in GitHub Desktop.
Beispiel für Minecraft Bedrock Server, Bedrock Connect und DNS-Server
version: "3.8"
services:
custom-dns:
image: andyshinn/dnsmasq
# Ersetze Featured Server DNS-Einträge mit 192.168.1.13 - dem PC auf dem Bedrock Connect läuft
command: ["--no-daemon", "--address=/geo.hivebedrock.network/192.168.1.13", "--address=/hivebedrock.network/192.168.1.13", "--address=/play.inpvp.net/192.168.1.13", "--address=/mco.lbsg.net/192.168.1.13", "--address=/play.galaxite.net/192.168.1.13", "--server=192.168.1.1"]
ports:
- "53:53/tcp"
- "53:53/udp"
bedrockconnect:
# https://github.com/Pugmatt/BedrockConnect
image: strausmann/minecraft-bedrock-connect
environment:
# Standard Minecraft Port
SERVER_PORT: 19132
NODB: "true"
# Config muss angelegt werden, siehe https://github.com/Pugmatt/BedrockConnect
CUSTOM_SERVERS: "/config/serverlist.json"
# Weniger Server = mehr Übersicht
FEATURED_SERVERS: "false"
ports:
# Standard Minecraft Port
- 19132:19132/udp
volumes:
- ./bedrockconnect-config:/config
stdin_open: "true"
tty: "true"
mcserver:
# https://github.com/itzg/docker-minecraft-bedrock-server
image: itzg/minecraft-bedrock-server
environment:
SERVER_NAME: "MC Server"
# Nicht der Standard Minecraft Port, der ist durch Bedrock Connect belegt
SERVER_PORT: "19133"
SERVER_PORT_V6: "19233"
EULA: "true"
GAMEMODE: survival
DIFFICULTY: normal
WHITE_LIST: "false"
ONLINE_MODE: "true"
ALLOW_CHEATS: "true"
MAX_PLAYERS: "15"
FETCH_FEATURED_IPS: "false"
ports:
# Nicht der Standard Minecraft Port, der ist durch Bedrock Connect belegt
- 19133:19133/udp
volumes:
- ./minecraft-data:/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment