mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-10 18:46:30 +00:00
change minecraft server
This commit is contained in:
@@ -101,15 +101,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.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" ];
|
||||
virtualisation.oci-containers.containers = {
|
||||
statech = {
|
||||
image = "eclipse-temurin:21-jre";
|
||||
volumes = [ "/home/theaninova/.config/statech:/statech" ];
|
||||
environment = { };
|
||||
ports = [ "25565:25565" ];
|
||||
workdir = "/statech";
|
||||
entrypoint = "/bin/bash";
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user