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,74 +26,53 @@
|
||||||
backend = "docker";
|
backend = "docker";
|
||||||
projects = {
|
projects = {
|
||||||
|
|
||||||
minecraft_proxy.settings = {
|
minecraft_proxy.settings.services.mc_proxy.service = {
|
||||||
services = {
|
image = "ghcr.io/haveachin/infrared:1.3.3";
|
||||||
mc_proxy = {
|
environment = {
|
||||||
service = {
|
INFRARED_CONFIG_PATH = "/configs";
|
||||||
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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
volumes = [ "/etc/games/minecraft/proxy:/configs" ];
|
||||||
|
ports = [
|
||||||
|
"25565:25565/tcp"
|
||||||
|
];
|
||||||
|
|
||||||
|
expose = [
|
||||||
|
"25565"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
minecraft_compsoc_classic.settings = {
|
minecraft_compsoc_classic.settings.services.compsoc_classic.service = {
|
||||||
services = {
|
image = "nimmis/spigot:latest";
|
||||||
compsoc_classic = {
|
# setting these here as they arent special
|
||||||
service = {
|
environment = {
|
||||||
image = "nimmis/spigot:latest";
|
# this is what it last ran on
|
||||||
# setting these here as they arent special
|
SPIGOT_VER="1.18.2";
|
||||||
environment = {
|
EULA="true";
|
||||||
# this is what it last ran on
|
|
||||||
SPIGOT_VER="1.18.2";
|
|
||||||
EULA="true";
|
|
||||||
};
|
|
||||||
|
|
||||||
# where the config files are stored
|
|
||||||
volumes = [ "/etc/games/minecraft/compsoc/test/config:/minecraft" ];
|
|
||||||
|
|
||||||
ports = [
|
|
||||||
"20000:25565/tcp"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
# where the config files are stored
|
||||||
|
volumes = [ "/etc/games/minecraft/compsoc/test/config:/minecraft" ];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"20000:25565/tcp"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
minecraft_compsoc_test.settings = {
|
minecraft_compsoc_test.settings.services.compsoc_test.service = {
|
||||||
services = {
|
image = "nimmis/spigot:latest";
|
||||||
compsoc_test = {
|
environment = {
|
||||||
service = {
|
# this is what it last ran on
|
||||||
image = "nimmis/spigot:latest";
|
SPIGOT_VER="1.18.2";
|
||||||
environment = {
|
EULA="true";
|
||||||
# this is what it last ran on
|
|
||||||
SPIGOT_VER="1.18.2";
|
|
||||||
EULA="true";
|
|
||||||
};
|
|
||||||
|
|
||||||
# where the config files are stored
|
|
||||||
volumes = [ "/etc/games/minecraft/compsoc/test2/config:/minecraft" ];
|
|
||||||
|
|
||||||
ports = [
|
|
||||||
"20001:25565/tcp"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# where the config files are stored
|
||||||
|
volumes = [ "/etc/games/minecraft/compsoc/test2/config:/minecraft" ];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"20001:25565/tcp"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue