version: '3.8' services: mc: image: itzg/minecraft-server container_name: paper environment: EULA: "true" TYPE: PAPER VIEW_DISTANCE: 10 MEMORY: 2G ports: - "25565:25565" volumes: - mc-paper:/data restart: unless-stopped volumes: mc-paper: {}