31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
---
|
|
minecraft_data_dir: /srv/minecraft
|
|
minecraft_image: docker.io/itzg/minecraft-server:latest
|
|
minecraft_server_type: PAPER
|
|
minecraft_version: LATEST
|
|
minecraft_memory: 2G
|
|
minecraft_difficulty: normal
|
|
minecraft_motd: "Hardened Fedora 42 Minecraft Server"
|
|
minecraft_max_players: "20"
|
|
minecraft_view_distance: "10"
|
|
minecraft_online_mode: "TRUE"
|
|
minecraft_whitelist: ""
|
|
# Port the Java server listens on INSIDE the container (host port
|
|
# publish is controlled by minecraft_port / minecraft_udp).
|
|
minecraft_container_port: 25565
|
|
minecraft_prepull: true
|
|
|
|
# Geyser - Bedrock protocol bridge (geysermc/geyser). Runs in the same pod
|
|
# as the Java server and publishes the Bedrock UDP port so Bedrock clients
|
|
# can join the Java world.
|
|
enable_geyser: true
|
|
geyser_image: docker.io/geysermc/geyser:latest
|
|
# Bedrock UDP port published on the host AND listened on by Geyser inside
|
|
# the container (pod-level publish, must match the firewall rule).
|
|
geyser_port: 19132
|
|
# Inside the pod all containers share localhost, so Geyser talks to the Java
|
|
# server over 127.0.0.1:{{ minecraft_container_port }}.
|
|
geyser_remote_address: 127.0.0.1
|
|
# online matches the Java server's ONLINE_MODE. Set to "offline" only if you
|
|
# also run Floodgate and pair the servers with a shared key.
|
|
geyser_auth_type: online |