fmt: reduced nesting to make it easier to read/understand
This commit is contained in:
parent
3eac87bbd8
commit
de87d97fbc
1 changed files with 39 additions and 60 deletions
|
@ -26,10 +26,7 @@
|
|||
backend = "docker";
|
||||
projects = {
|
||||
|
||||
minecraft_proxy.settings = {
|
||||
services = {
|
||||
mc_proxy = {
|
||||
service = {
|
||||
minecraft_proxy.settings.services.mc_proxy.service = {
|
||||
image = "ghcr.io/haveachin/infrared:1.3.3";
|
||||
environment = {
|
||||
INFRARED_CONFIG_PATH = "/configs";
|
||||
|
@ -44,14 +41,8 @@
|
|||
"25565"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
minecraft_compsoc_classic.settings = {
|
||||
services = {
|
||||
compsoc_classic = {
|
||||
service = {
|
||||
minecraft_compsoc_classic.settings.services.compsoc_classic.service = {
|
||||
image = "nimmis/spigot:latest";
|
||||
# setting these here as they arent special
|
||||
environment = {
|
||||
|
@ -67,15 +58,8 @@
|
|||
"20000:25565/tcp"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
minecraft_compsoc_test.settings = {
|
||||
services = {
|
||||
compsoc_test = {
|
||||
service = {
|
||||
minecraft_compsoc_test.settings.services.compsoc_test.service = {
|
||||
image = "nimmis/spigot:latest";
|
||||
environment = {
|
||||
# this is what it last ran on
|
||||
|
@ -90,11 +74,6 @@
|
|||
"20001:25565/tcp"
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue