leca f093a47b66 | ||
---|---|---|
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
docker-compose.yml | ||
entrypoint.sh | ||
install.sh | ||
sample.env |
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:
- Clone this repo:
git clone https://git.foxarmy.org/leca/minetest-server-docker
/ - Copy sample environment file and edit it to your needs:
cp sample.env .env && nano .env
. - Execute installation script. It will download game and mods you specified in
.env
file. - Build docker image and launch it:
docker-compose up --build
- Read logs and ensure that everything works properly. If everything's ok, stop the container and start it detached:
docker-compose up -d
Notes
- As far as I can see,
minetesetserver --terminal
is a kind of poor working thing, I couldnt get it to work under bothtmux
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