This Project is still work in progress.
Super small and simple mindustry server.
docker run --tty --interactive --name mindustry --publish 6567:6567/tcp --publish 6567:6567/udp hetsh/mindustry
If you want to run the server in the background replace --tty --interactive
with --detach
.
docker stop mindustry
MP="/path/to/storage"
mkdir -p "$MP"
chown -R 1368:1368 "$MP"
1368
is the numerical id of the user running the server (see Dockerfile).
Start the server with the additional mount flag:
docker run --mount "type=bind,source=$MP,target=/mindustry" ...
The systemd unit can be found in my GitHub repository.
systemctl enable mindustry@<port> --now
Individual server instances are distinguished by host-port.
By default, the systemd service assumes /apps/mindustry/<port>
for persistent storage and /etc/localtime
for timezone.
Since this is a personal systemd unit file, you might need to adjust some parameters to suit your setup.
This is an open project (visit GitHub). Please feel free to ask questions, file an issue or contribute to it.