actually working
This commit is contained in:
parent
4e0fa90cf7
commit
6422d6c1bf
|
@ -1,24 +1,25 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
project.name = "minecraft";
|
project.name = "minecraft";
|
||||||
services = {
|
services = {
|
||||||
mc = {
|
mc = {
|
||||||
service.image = "itzg/minecraft-server:java17-jdk";
|
service.image = "itzg/minecraft-server:java17-jdk";
|
||||||
service.volumes = [ "/home/podman/data:/data" ];
|
service.volumes = [ "/home/podman/data:/data" ];
|
||||||
service.dns = [ "8.8.8.8" ];
|
service.dns = [ "8.8.8.8" ];
|
||||||
service.ports = [ "25565:25565" ];
|
service.network_mode = "host";
|
||||||
service.environment = {
|
service.environment = {
|
||||||
EULA = "true";
|
EULA = "true";
|
||||||
TYPE = "FORGE";
|
TYPE = "FORGE";
|
||||||
VERSION = "1.20.1";
|
VERSION = "1.20.1";
|
||||||
FORGE_VERSION = "47.2.20";
|
FORGE_VERSION = "47.2.20";
|
||||||
MEMORY = "16G";
|
MEMORY = "16G";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
ftb = {
|
ftb = {
|
||||||
service.image = "itzg/minecraft-server:java8-multiarch";
|
service.image = "itzg/minecraft-server:java8-multiarch";
|
||||||
service.volumes = [ "/home/podman/ftb/data:/data" ];
|
service.volumes = [ "/home/podman/ftb/data:/data" ];
|
||||||
service.dns = [ "8.8.8.8" ];
|
service.dns = [ "8.8.8.8" ];
|
||||||
service.ports = [ "25566:25565" ]
|
service.network_mode = "host";
|
||||||
service.environment = {
|
service.environment = {
|
||||||
EULA = "true";
|
EULA = "true";
|
||||||
TYPE = "FORGE";
|
TYPE = "FORGE";
|
||||||
|
|
Loading…
Reference in New Issue