etna: remove minecraft server
This commit is contained in:
parent
dfe10e01e5
commit
0bc4c440a2
1 changed files with 0 additions and 25 deletions
|
@ -15,8 +15,6 @@
|
|||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [4040];
|
||||
|
||||
services = {
|
||||
api-rs = {
|
||||
enable = true;
|
||||
|
@ -58,27 +56,4 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
"ngrok" = {
|
||||
image = "ngrok/ngrok";
|
||||
ports = ["4040:4040"];
|
||||
cmd = ["tcp" "25565"];
|
||||
extraOptions = ["--net=host"];
|
||||
environmentFiles = [config.age.secrets.ngrokEnv.path];
|
||||
};
|
||||
|
||||
"minecraft" = {
|
||||
image = "itzg/minecraft-server";
|
||||
ports = ["25565:25565"];
|
||||
volumes = ["/data/minecraft:/data"];
|
||||
environment = {
|
||||
EULA = "true";
|
||||
MEMORY = "16G";
|
||||
MODRINTH_MODPACK = "adrenaserver";
|
||||
MODRINTH_VERSION = "1.5.0+1.20.4.fabric";
|
||||
MODRINTH_LOADER = "fabric";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue