yuki: init minecraft

This commit is contained in:
notohh 2023-06-30 16:59:27 -04:00
parent 8307144ed6
commit 47cf5f068c
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 14 additions and 0 deletions

View file

@ -8,5 +8,6 @@
./homarr.nix
./dashdot.nix
./miniflux.nix
./minecraft.nix
];
}

View file

@ -0,0 +1,13 @@
{...}: {
networking.firewall.allowedTCPPorts = [25565];
virtualisation.oci-containers.containers.minecraft = {
image = "marctv/minecraft-papermc-server:latest";
ports = ["25565:25565"];
environment = {
MEMORYSIZE = "6G";
};
volumes = [
"/home/notoh/docker/mcserver:/data:rw"
];
};
}