migrate to itzg
This commit is contained in:
parent
6063234389
commit
a8d3b22b41
|
@ -3,14 +3,16 @@
|
||||||
{
|
{
|
||||||
# Minecraft
|
# Minecraft
|
||||||
virtualisation.oci-containers.containers."minecraft" = {
|
virtualisation.oci-containers.containers."minecraft" = {
|
||||||
autoStart = true;
|
image = "itzg/minecraft-server";
|
||||||
image = "marctv/minecraft-papermc-server:latest";
|
ports = [
|
||||||
|
"25565:25565"
|
||||||
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/containers/minecraft:/data"
|
"/srv/containers/minecraft:/data"
|
||||||
];
|
];
|
||||||
ports = [ "25565:25565" ];
|
|
||||||
environment = {
|
environment = {
|
||||||
MEMORYSIZE = "1G";
|
EULA = "TRUE";
|
||||||
};
|
};
|
||||||
|
autoStart = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue