Added minecraft

This commit is contained in:
Maurice
2025-10-01 17:41:40 +02:00
parent b08e4809ac
commit 8022b05767
27 changed files with 924 additions and 3 deletions

View File

@@ -0,0 +1,31 @@
user = "podman"
capabilities = ["NET_BIND_SERVICE"]
[service]
name = "minecraft"
image = "itzg/minecraft-server"
[environment]
TYPE = "PAPER"
EULA = "true"
TZ = "Europe/Amsterdam"
ENABLE_ROLLING_LOGS = "true"
SERVER_NAME = "Goofjes"
MOTD = "Welcome @ Goofjes.nl"
SNOOPER_ENABLED = "false"
[[environment_secrets]]
name = "RCON_PASSWORD"
secret = "minecraft_rcon_password"
[[ports]]
host = 25565
container = 25565
[[ports]]
host = 19132
container = 19132
[[volumes]]
source = "/var/containers/minecraft"
target = "/data:Z"