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 = {
|
||||
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue