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