docker-bits/lsio/minetest/docker-run.sh

16 lines
800 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Minetest](http://www.minetest.net/) (server) is a near-infinite-world block
# sandbox game and a game engine, inspired by InfiniMiner, Minecraft, and the
# like.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=minetest \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-e CLI_ARGS="--gameid minetest" `# optional` `# Optionally specify any [CLI variables](https://wiki.minetest.net/Command_line) you want to launch the app with` \
-p 30000:30000/udp `# Port Minetest listens on.` \
-v ${BASEDIR:-/volume1/docker}/minetest/config/.minetest:/config/.minetest `# Where minetest stores config files and maps etc.` \
--restart unless-stopped \
ghcr.io/linuxserver/minetest