minecraft: fix up the paths

This commit is contained in:
silver 2023-04-27 00:49:55 +01:00
parent b85410e895
commit 81afc614a3

View file

@ -5,7 +5,7 @@
cname = [
# create a sub-subdomain for each game
"compsoc_classic.minecraft.games CNAME games"
"compsoc_test.minecraft.games CNAME games"
"compsoc.minecraft.games CNAME games"
];
};
@ -31,7 +31,7 @@
ports = [ "25565:25565/tcp" ];
expose = [ "25565" ];
command = [
"--mapping=compsoc_classic.minecraft.games.skynet.ie=172.17.0.1:20000,compsoc_test.minecraft.games.skynet.ie=172.17.0.1:20001"
"--mapping=compsoc_classic.minecraft.games.skynet.ie=172.17.0.1:20000,compsoc.minecraft.games.skynet.ie=172.17.0.1:20001"
];
};
@ -45,14 +45,14 @@
};
# where the config files are stored
volumes = [ "/etc/games/minecraft/compsoc/test/config:/minecraft" ];
volumes = [ "/etc/games/minecraft/compsoc/classic/config:/minecraft" ];
ports = [
"20000:25565/tcp"
];
};
minecraft_compsoc_test.settings.services.compsoc_test.service = {
minecraft_compsoc.settings.services.compsoc_test.service = {
image = "nimmis/spigot:latest";
environment = {
# this is what it last ran on
@ -61,7 +61,7 @@
};
# where the config files are stored
volumes = [ "/etc/games/minecraft/compsoc/test2/config:/minecraft" ];
volumes = [ "/etc/games/minecraft/compsoc/current/config:/minecraft" ];
ports = [
"20001:25565/tcp"