A minetest server with docker and small toolset around
Go to file
leca f7b63d848b readme changes 2024-09-29 18:44:28 +03:00
.gitignore Done setting 2024-09-29 17:49:23 +03:00
Dockerfile working on world name selection 2024-09-29 18:29:50 +03:00
LICENSE Initial commit 2024-09-21 20:14:21 +03:00
README.md readme changes 2024-09-29 18:44:28 +03:00
docker-compose.yml working on world name selection 2024-09-29 18:29:50 +03:00
entrypoint.sh working on world name selection 2024-09-29 18:29:50 +03:00
install.sh working on world name selection 2024-09-29 18:29:50 +03:00
sample.env done adding world name setting 2024-09-29 18:32:21 +03:00

README.md

minetest-server-docker

A minetest docker image and toolset for comfort setup.

Description

This project aims to automate minetest server deployment.

To be precise, these are the aims:

  • Fully automated game and mods installation, using description from .env file [done]
  • Comfort server TUI, detachment and attachment to server console [not done, see notes, 1]

Deployment

To deploy this server setup, follow these steps:

  1. Clone this repo: git clone https://git.foxarmy.org/leca/minetest-server-docker/
  2. Copy sample environment file and edit it to your needs: cp sample.env .env && nano .env.
  3. Execute installation script. It will download game and mods you specified in .env file.
  4. Build docker image and launch it: docker-compose up --build
  5. Read logs and ensure that everything works properly. If everything's ok, stop the container and start it detached: docker-compose up -d

Notes

  1. As far as I can see, minetesetserver --terminal is a kind of poor working thing, I couldnt get it to work under both tmux and just docker. I think someone needs to rewrite minetest's server TUI (maybe me)

Credits

Thanks to

@orion:redeyes.site (matrix) for helping me with some ((docker moments))

@disedead:dementia.fun for staying with me in vc and being my rubber duck

@vova_uwu:dimensionproject.net for hating docker