version: '3.3' services: minecraft-server: volumes: - serverdata:/data environment: - TYPE=FORGE - MEMORY=4G - VERSION=1.18.2 - FORGE_VERSION=40.1.93 - EULA=TRUE - MOTD=Hej och välkommen! ports: - '25565:25565' container_name: minecraft image: itzg/minecraft-server volumes: serverdata: driver_opts: type: "nfs" o: "addr=192.168.1.100,nfsvers=4,retrans=6" device: ":/mnt/data/storage/minecraft"