minecraft: use a better proxy

This commit is contained in:
silver 2023-04-26 02:18:21 +01:00
parent de87d97fbc
commit b85410e895

View file

@ -27,18 +27,11 @@
projects = { projects = {
minecraft_proxy.settings.services.mc_proxy.service = { minecraft_proxy.settings.services.mc_proxy.service = {
image = "ghcr.io/haveachin/infrared:1.3.3"; image = "itzg/mc-router:1.18.0";
environment = { ports = [ "25565:25565/tcp" ];
INFRARED_CONFIG_PATH = "/configs"; 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"
volumes = [ "/etc/games/minecraft/proxy:/configs" ];
ports = [
"25565:25565/tcp"
];
expose = [
"25565"
]; ];
}; };