change minecraft server

This commit is contained in:
2025-07-14 16:52:14 +02:00
parent d570d170f0
commit 876650cf2e

View File

@@ -101,15 +101,29 @@
}; };
}; };
virtualisation.oci-containers.containers.craftoria = { virtualisation.oci-containers.containers = {
image = "eclipse-temurin:21-jre"; statech = {
volumes = [ "/home/theaninova/.config/craftoria:/craftoria" ]; image = "eclipse-temurin:21-jre";
environment = { }; volumes = [ "/home/theaninova/.config/statech:/statech" ];
ports = [ "25565:25565" ]; environment = { };
workdir = "/craftoria"; ports = [ "25565:25565" ];
entrypoint = "/bin/bash"; workdir = "/statech";
cmd = [ "startserver.sh" ]; entrypoint = "/bin/bash";
extraOptions = [ "--network=host" ]; cmd = [ "start.sh" ];
extraOptions = [ "--network=host" ];
};
/*
craftoria = {
image = "eclipse-temurin:21-jre";
volumes = [ "/home/theaninova/.config/craftoria:/craftoria" ];
environment = { };
ports = [ "25565:25565" ];
workdir = "/craftoria";
entrypoint = "/bin/bash";
cmd = [ "startserver.sh" ];
extraOptions = [ "--network=host" ];
};
*/
}; };
fonts = { fonts = {