minecraft: open udp port
All checks were successful
/ check (push) Successful in 48s

This commit is contained in:
notohh 2023-10-12 23:32:37 -04:00
parent a40c81af7c
commit b2bfe83faa
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,9 +1,9 @@
_: {
networking.firewall.allowedTCPPorts = [25565];
networking.firewall.allowedUDPPorts = [25565];
networking.firewall.allowedUDPPorts = [24454];
virtualisation.oci-containers.containers.minecraft = {
image = "itzg/minecraft-server";
ports = ["25565:25565"];
ports = ["25565:25565" "24454:24454/udp"];
environment = {
EULA = "TRUE";
VERSION = "1.19.2";