version: "3.8"

services:
  mc:
    image: itzg/minecraft-server
    ports:
      - "25565:25565"
    environment:
      EULA: "TRUE"
      TYPE: MOHIST
      VERSION: 1.12.2
      DEBUG: "true"
    volumes:
      - data:/data

volumes:
  data: {}
