minecraft: switch image and enable
All checks were successful
/ check (push) Successful in 2m35s
All checks were successful
/ check (push) Successful in 2m35s
This commit is contained in:
parent
98245da210
commit
b00cd4bd6d
2 changed files with 9 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
./homarr.nix
|
||||
./dashdot.nix
|
||||
./jellyfin.nix
|
||||
./neko.nix
|
||||
./forgejo-runners.nix
|
||||
./minecraft.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,13 +1,18 @@
|
|||
_: {
|
||||
networking.firewall.allowedTCPPorts = [25565];
|
||||
virtualisation.oci-containers.containers.minecraft = {
|
||||
image = "als3bas/zulu-purpurmc:latest";
|
||||
image = "itzg/minecraft-server";
|
||||
ports = ["25565:25565"];
|
||||
environment = {
|
||||
MEMORYSIZE = "10G";
|
||||
EULA = "TRUE";
|
||||
VERSION = "1.20.2";
|
||||
MEMORY = "4G";
|
||||
TYPE = "FABRIC";
|
||||
FABRIC_LOADER_VERSION = "0.14.23";
|
||||
FABRIC_LAUNCHER_VERSION = "0.11.2";
|
||||
};
|
||||
volumes = [
|
||||
"/home/notoh/docker/purpur:/data:rw"
|
||||
"/home/notoh/docker/modded-mc:/data:rw"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue