minecraft: use a better proxy
This commit is contained in:
parent
de87d97fbc
commit
b85410e895
1 changed files with 5 additions and 12 deletions
|
@ -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"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue