added boomhut play and papermc role

This commit is contained in:
Jef Roosens 2025-12-21 21:41:06 +01:00
parent 27c333bb55
commit dc538a3971
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
6 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# vim: ft=systemd
[Unit]
Description=Self-hostable Minecraft server
[Container]
Image=papermc:1.21.10
EnvironmentFile=/etc/papermc/papermc.env
Pull=never
PodmanArgs=--tty
PublishPort=25565:25565
Volume=/data/papermc/config:/app/config
Volume=/data/papermc/worlds:/app/worlds
Volume=/data/papermc/backups:/app/backups
Volume=/data/papermc/cache:/app/config/cache
[Service]
Restart=always
[Install]
WantedBy=default.target