# Minecraft

Docker compose.yml
```yaml
services:
  mc:
    image: itzg/minecraft-server:latest
    container_name: minecraft_server
    ports:
      - "25565:25565" # Minecraft game port
    environment:
      EULA: "TRUE" # IMPORTANT: Set to TRUE to accept the Minecraft EULA
      TYPE: "PAPER" # Server type (e.g., VANILLA, FORGE, SPONGE, PAPER)
      VERSION: "LATEST" # Minecraft version (e.g., 1.20.4)
      # MEMORY: "2G" # Allocate 2GB of RAM to the server
      # MODE: "survival" # Game mode
      # DIFFICULTY: "normal" # Game difficulty
      # MOTD: "Welcome to my Docker Minecraft Server!" # Message of the Day
    volumes:
      - ./data:/data
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9