minecraft: fix up the paths
This commit is contained in:
parent
b85410e895
commit
81afc614a3
1 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue