kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
27a699ad59
commit
f516b488e1
|
@ -61,8 +61,8 @@ services:
|
|||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- CLI_ARGS="--gameid minetest --port 30000" #optional
|
||||
- TZ=Etc/UTC
|
||||
- "CLI_ARGS="--gameid minetest --port 30000"" #optional
|
||||
volumes:
|
||||
- /path/to/data:/config/.minetest
|
||||
ports:
|
||||
|
@ -77,12 +77,13 @@ docker run -d \
|
|||
--name=minetest \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e CLI_ARGS="--gameid minetest --port 30000" `#optional` \
|
||||
-e TZ=Etc/UTC \
|
||||
-e CLI_ARGS=""--gameid minetest --port 30000"" `#optional` \
|
||||
-p 30000:30000/udp \
|
||||
-v /path/to/data:/config/.minetest \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/minetest:latest
|
||||
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -101,7 +102,7 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| :----: | --- |
|
||||
| `PUID=1000` | for UserID - see below for explanation |
|
||||
| `PGID=1000` | for GroupID - see below for explanation |
|
||||
| `TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
||||
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `CLI_ARGS="--gameid minetest --port 30000"` | Optionally specify any [CLI variables](https://wiki.minetest.net/Command_line) you want to launch the app with |
|
||||
|
||||
### Volume Mappings (`-v`)
|
||||
|
|
Ładowanie…
Reference in New Issue