services: minecraft: container_name: minecraft image: docker.io/itzg/minecraft-server:latest restart: always deploy: resources: limits: cpus: '0.8' environment: UID: 1011 GID: 1011 VERSION: 1.21.1 EULA: "TRUE" MEMORY: 1.25G ENABLE_COMMAND_BLOCK: "true" MOTD: "Fjeaj" OPS: | Viyurz TYPE: FABRIC MODS: | https://cdn.modrinth.com/data/gvQqBUqZ/versions/5szYtenV/lithium-fabric-mc1.21.1-0.13.0.jar https://cdn.modrinth.com/data/uXXizFIs/versions/wmIZ4wP4/ferritecore-7.0.0-fabric.jar ports: - "3690:25565" - "25565:25565" volumes: - minecraft:/data volumes: minecraft: name: minecraft