2024-03-05 09:16:28 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-03-06 02:48:24 +00:00
|
|
|
project.name = "minecraft";
|
2024-03-05 09:16:28 +00:00
|
|
|
services = {
|
2024-03-06 02:48:24 +00:00
|
|
|
mc = {
|
2024-03-09 16:52:21 +00:00
|
|
|
service.image = "itzg/minecraft-server:java17-jdk";
|
2024-03-09 14:38:19 +00:00
|
|
|
service.volumes = [ "/home/podman/data:/data" ];
|
2024-03-09 16:52:21 +00:00
|
|
|
service.dns = [ "8.8.8.8" ];
|
2024-04-25 20:34:23 +00:00
|
|
|
service.ports = [ "25565:25565" ];
|
2024-03-06 02:48:24 +00:00
|
|
|
service.environment = {
|
|
|
|
EULA = "true";
|
2024-03-09 16:52:21 +00:00
|
|
|
TYPE = "FORGE";
|
|
|
|
VERSION = "1.20.1";
|
|
|
|
FORGE_VERSION = "47.2.20";
|
2024-03-06 02:48:24 +00:00
|
|
|
MEMORY = "16G";
|
2024-04-25 20:34:23 +00:00
|
|
|
};
|
|
|
|
ftb = {
|
|
|
|
service.image = "itzg/minecraft-server:java8-multiarch";
|
|
|
|
service.volumes = [ "/home/podman/ftb/data:/data" ];
|
|
|
|
service.dns = [ "8.8.8.8" ];
|
|
|
|
service.ports = [ "25566:25565" ]
|
|
|
|
service.network_mode = "host";
|
|
|
|
service.environment = {
|
|
|
|
EULA = "true";
|
|
|
|
TYPE = "FORGE";
|
|
|
|
VERSION = "1.7.10";
|
|
|
|
FORGE_VERSION = "10.13.2.1291";
|
|
|
|
MEMORY = "16G";
|
|
|
|
};
|
2024-03-05 09:16:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|