Skip to content

Instantly share code, notes, and snippets.

@Blakeinstein
Created July 29, 2021 09:18
Show Gist options
  • Save Blakeinstein/71b9cae62152865232363748bbbfc868 to your computer and use it in GitHub Desktop.
Save Blakeinstein/71b9cae62152865232363748bbbfc868 to your computer and use it in GitHub Desktop.
Docker compose to quickly setup minecraft servers

Instructions

  • Change OPS
version: '3'
services:
minecraft:
ports:
- "25565:25565"
volumes:
- "./minecraft-data:/data"
environment:
EULA: "TRUE"
MAX_MEMORY: 16G
MAX_BUILD_HEIGHT: 256
VIEW_DISTANCE: 15
MAX_PLAYERS: 100
ONLINE_MODE: "false"
SEED: "2029492581"
OPS: "Steve"
image: itzg/minecraft-server
restart: always
rcon:
image: itzg/rcon
ports:
- "4326:4326"
- "4327:4327"
volumes:
- "rcon:/opt/rcon-web-admin/db"
volumes:
mcbig:
rcon:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment