Merge pull request #2 from sparklyballs/master

change port to udp
This commit is contained in:
Stian Buch Larsen 2016-02-19 14:31:14 +01:00
commit c18de34e50
2 changed files with 6 additions and 3 deletions

View File

@ -76,5 +76,5 @@ RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
VOLUME /config/.minetest VOLUME /config/.minetest
# expose port # expose port
EXPOSE 30000 EXPOSE 30000/udp

View File

@ -9,12 +9,14 @@ Minetest is a near-infinite-world block sandbox game and a game engine, inspired
## Usage ## Usage
``` ```
docker create --name=minetest -v <path to data>:/config/.minetest -e PGID=<gid> -e PUID=<uid> -e TZ=<timezone> -p 30000:30000 lsiodev/minetest docker create --name=minetest -v <path to data>:/config/.minetest \
-e PGID=<gid> -e PUID=<uid> -e TZ=<timezone> \
-p 30000:30000/udp lsiodev/minetest
``` ```
**Parameters** **Parameters**
* `-p 30000` - the port(s) * `-p 30000/udp` - the port(s)
* `-v /config/.minetest` - where minetest stores config files and maps etc. * `-v /config/.minetest` - where minetest stores config files and maps etc.
* `-e PGID` for GroupID - see below for explanation * `-e PGID` for GroupID - see below for explanation
* `-e PUID` for UserID - see below for explanation * `-e PUID` for UserID - see below for explanation
@ -41,6 +43,7 @@ You can find the world maps, mods folder and config files in /config/.minetest.
## Versions ## Versions
+ **19.02.2016:** Change port to UDP, thanks to slashopt for pointing this out.
+ **15.02.2016:** Make minetest app a service. + **15.02.2016:** Make minetest app a service.
+ **01-02-2016:** Add lua-socket dependency. + **01-02-2016:** Add lua-socket dependency.
+ **06.11.2015:** Initial Release. + **06.11.2015:** Initial Release.