add velocity

the server now utilizes the velocity proxy for
- domain based connection instead of ports (called forced-hosts in velocity)
- a fancy motd message indicating when only the minecraft server is down, but not the host system
This commit is contained in:
anonoe 2025-12-27 23:31:10 +01:00
parent 3164df2579
commit 1002a471ba
Signed by: anonoe
SSH key fingerprint: SHA256:OnAs6gNQelOnDiY5tBpDYKQiuTgBvnmIdMo5P09cdqg
13 changed files with 79 additions and 29 deletions

View file

@ -1,12 +1,14 @@
[Unit]
Description=Modded Minecraft Server via Podman managed by Systemd
Documentation=https://git.nanody.de/anonoe/MMS
Wants=velocity.service
After=velocity.service
[Container]
Image=git.nanody.de/anonoe/jre-alpine:latest
AutoUpdate=registry
PublishPort=25565:25565/tcp
PublishPort=24454:24454/udp
PublishPort=25566:25565/tcp
PublishPort=24455:24455/udp
UserNS=keep-id
Mount=type=bind,src=/PATH/TO/server,dst=/mnt/server
Mount=type=bind,src=/PATH/TO/rcon,dst=/mnt/rcon