fmt: reduced nesting to make it easier to read/understand

This commit is contained in:
silver 2023-04-26 02:01:29 +01:00
parent 3eac87bbd8
commit de87d97fbc

View file

@ -26,10 +26,7 @@
backend = "docker"; backend = "docker";
projects = { projects = {
minecraft_proxy.settings = { minecraft_proxy.settings.services.mc_proxy.service = {
services = {
mc_proxy = {
service = {
image = "ghcr.io/haveachin/infrared:1.3.3"; image = "ghcr.io/haveachin/infrared:1.3.3";
environment = { environment = {
INFRARED_CONFIG_PATH = "/configs"; INFRARED_CONFIG_PATH = "/configs";
@ -44,14 +41,8 @@
"25565" "25565"
]; ];
}; };
};
};
};
minecraft_compsoc_classic.settings = { minecraft_compsoc_classic.settings.services.compsoc_classic.service = {
services = {
compsoc_classic = {
service = {
image = "nimmis/spigot:latest"; image = "nimmis/spigot:latest";
# setting these here as they arent special # setting these here as they arent special
environment = { environment = {
@ -67,15 +58,8 @@
"20000:25565/tcp" "20000:25565/tcp"
]; ];
}; };
};
}; minecraft_compsoc_test.settings.services.compsoc_test.service = {
};
minecraft_compsoc_test.settings = {
services = {
compsoc_test = {
service = {
image = "nimmis/spigot:latest"; image = "nimmis/spigot:latest";
environment = { environment = {
# this is what it last ran on # this is what it last ran on
@ -90,11 +74,6 @@
"20001:25565/tcp" "20001:25565/tcp"
]; ];
}; };
};
};
};
}; };
}; };
} }