version: "3"

services:
  mc:
    image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
    environment:
      EULA: "true"
      SETUP_ONLY: "true"
      TYPE: FABRIC
      VERSION: 1.19.1
      MODRINTH_PROJECTS: fabric-api,cloth-config
    volumes:
      - ./data:/data
