Created
June 14, 2021 11:24
-
-
Save fomkin/a3b2f2ebaf73ea5497f491b508e2a6e2 to your computer and use it in GitHub Desktop.
Docker-compose file to run Minecraft Java Server and Geyser MC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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