[Unit]
Description=MMS BlueMap via Podman managed by Systemd
Documentation=https://bluemap.bluecolored.de/wiki/

[Container]
Image=ghcr.io/bluemap-minecraft/bluemap:v5.15
AutoUpdate=registry
PublishPort=8100:8100/tcp
UserNS=keep-id

Mount=type=bind,src=%h/bluemap/config,dst=/app/config
Mount=type=bind,src=%h/bluemap/web,dst=/app/web
Mount=type=bind,src=%h/bluemap/data,dst=/app/data
Mount=type=bind,src=%h/bluemap/bluemap,dst=/app/bluemap
Mount=type=bind,src=%h/MMS/server,dst=/app/w.mms,ro=true
Mount=type=bind,src=%h/MMS_t/server,dst=/app/w.mms_testing,ro=true

Exec=--render --watch --webserver --mods /app/w.mms/mods --mods /app/w.mms_testing/mods --mc-version 1.20.1

[Install]
# Start by default on boot
WantedBy=default.target

