Skip to content

Instantly share code, notes, and snippets.

@fomkin
Created June 14, 2021 11:24
Show Gist options
  • Save fomkin/a3b2f2ebaf73ea5497f491b508e2a6e2 to your computer and use it in GitHub Desktop.
Save fomkin/a3b2f2ebaf73ea5497f491b508e2a6e2 to your computer and use it in GitHub Desktop.
Docker-compose file to run Minecraft Java Server and Geyser MC
version: "3.0"
services:
minecraft:
image: itzg/minecraft-server
ports:
- "25565:25565"
volumes:
- "./data:/data"
environment:
ONLINE_MODE: "FALSE"
EULA: "TRUE"
MEMORY: "512M"
MODE: "creative"
ENABLE_AUTOPAUSE: "TRUE"
geyser:
image: fomkin/geyser
ports:
- "19132:19132/udp"
environment:
REMOTE_ADDRESS: "minecraft"
REMOTE_AUTH_TYPE: "offline"
MEMORY: "256M"
links:
- minecraft
depends_on:
- minecraft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment