fix #22
This commit is contained in:
parent
f9d53b601d
commit
aa86d9e31a
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
**Please make a backup of your world in case something goes wrong**
|
**Please make a backup of your world in case something goes wrong**
|
||||||
|
|
||||||
|
## Simple installation
|
||||||
|
|
||||||
* Download the binary from the [releases](https://github.com/minetest-tools/mapserver/releases) for your architecture and platform
|
* Download the binary from the [releases](https://github.com/minetest-tools/mapserver/releases) for your architecture and platform
|
||||||
* Drop the binary into your world folder (the one with the `world.mt` and `map.sqlite` files)
|
* Drop the binary into your world folder (the one with the `world.mt` and `map.sqlite` files)
|
||||||
* Start the mapserver via command-line: `./mapserver` or `./mapserver.exe`
|
* Start the mapserver via command-line: `./mapserver` or `./mapserver.exe`
|
||||||
@ -10,6 +12,34 @@
|
|||||||
|
|
||||||
For additional infos (lag,time,players => active mode) on the mapserver interface you should install the [mapserver-mod](mod.md)
|
For additional infos (lag,time,players => active mode) on the mapserver interface you should install the [mapserver-mod](mod.md)
|
||||||
|
|
||||||
|
## Docker image
|
||||||
|
|
||||||
|
Simple docker run example:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run --rm --it -p 8080:8080 -v $(pwd):/minetest -w /minetest buckaroobanzay/mapserver
|
||||||
|
```
|
||||||
|
|
||||||
|
## Docker compose
|
||||||
|
|
||||||
|
Examplary `docker-compose` config:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
mapserver:
|
||||||
|
image: buckaroobanzay/mapserver
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
depends_on:
|
||||||
|
- "postgres"
|
||||||
|
volumes:
|
||||||
|
- "./data/minetest/world:/minetest"
|
||||||
|
working_dir: "/minetest"
|
||||||
|
```
|
||||||
|
|
||||||
|
* See also: https://github.com/pandorabox-io/pandorabox.io/blob/master/docker-compose.yml
|
||||||
|
|
||||||
## Performance / Scalability
|
## Performance / Scalability
|
||||||
|
|
||||||
For small to medium setups the default values should suffice.
|
For small to medium setups the default values should suffice.
|
||||||
|
Loading…
Reference in New Issue
Block a user