fix README
This commit is contained in:
parent
5295a63182
commit
b8534def77
26
README.md
26
README.md
@ -19,62 +19,62 @@ Garry's Mod is a physics sandbox. There aren't any predefined aims or goals. We
|
|||||||
|
|
||||||
## Basic
|
## Basic
|
||||||
|
|
||||||
`
|
```
|
||||||
docker run \
|
docker run \
|
||||||
--expose 27015 \
|
--expose 27015 \
|
||||||
hackebein/garrysmod
|
hackebein/garrysmod
|
||||||
`
|
```
|
||||||
|
|
||||||
## Public
|
## Public
|
||||||
|
|
||||||
`
|
```
|
||||||
docker run \
|
docker run \
|
||||||
--expose 27015 \
|
--expose 27015 \
|
||||||
-e "GLST=..." \
|
-e "GLST=..." \
|
||||||
hackebein/garrysmod
|
hackebein/garrysmod
|
||||||
`
|
```
|
||||||
|
|
||||||
Get your [GLST](http://steamcommunity.com/dev/managegameservers) (`APPID: 4000`)
|
Get your [GLST](http://steamcommunity.com/dev/managegameservers) (`APPID: 4000`)
|
||||||
|
|
||||||
## Public with Workshop Collection
|
## Public with Workshop Collection
|
||||||
|
|
||||||
`
|
```
|
||||||
docker run \
|
docker run \
|
||||||
--expose 27015 \
|
--expose 27015 \
|
||||||
-e "GLST=..." \
|
-e "GLST=..." \
|
||||||
-e "AUTHKEY=..." \
|
-e "AUTHKEY=..." \
|
||||||
-e "WORKSHOPCOLLECTIONID=..." \
|
-e "WORKSHOPCOLLECTIONID=..." \
|
||||||
hackebein/garrysmod
|
hackebein/garrysmod
|
||||||
`
|
```
|
||||||
|
|
||||||
Get your [AUTHKEY](http://steamcommunity.com/dev/apikey)
|
Get your [AUTHKEY](http://steamcommunity.com/dev/apikey)
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
|
|
||||||
`
|
```
|
||||||
docker run \
|
docker run \
|
||||||
--expose 27015 \
|
--expose 27015 \
|
||||||
-e "GLST=..." \
|
-e "GLST=..." \
|
||||||
-e "AUTHKEY=..." \
|
-e "AUTHKEY=..." \
|
||||||
-e "WORKSHOPCOLLECTIONID=..." \
|
-e "WORKSHOPCOLLECTIONID=..." \
|
||||||
--volume ./mycfg:/opt/garrysmod/garrysmod/volume \
|
-v ./mycfg:/opt/garrysmod/garrysmod/volume \
|
||||||
hackebein/garrysmod
|
hackebein/garrysmod
|
||||||
`
|
```
|
||||||
|
|
||||||
Autoload `{gamemode}.cfg` from volume.
|
Autoload `{gamemode}.cfg` from volume.
|
||||||
|
|
||||||
By default environment you can mount files like `my.server.cfg` and `my.{gamemode}.cfg` for Server and gamemode specific configurations
|
By default environment you can mount files like `my.server.cfg` and `my.{gamemode}.cfg` for Server and gamemode specific configurations
|
||||||
|
|
||||||
`
|
```
|
||||||
docker run \
|
docker run \
|
||||||
--expose 27015 \
|
--expose 27015 \
|
||||||
-e "GLST=..." \
|
-e "GLST=..." \
|
||||||
-e "AUTHKEY=..." \
|
-e "AUTHKEY=..." \
|
||||||
-e "WORKSHOPCOLLECTIONID=..." \
|
-e "WORKSHOPCOLLECTIONID=..." \
|
||||||
--volume ./mycfg/my.server.cfg:/opt/garrysmod/garrysmod/volume/ \
|
-v ./mycfg/my.server.cfg:/opt/garrysmod/garrysmod/volume/ \
|
||||||
--volume ./mycfg/my.terrortown.cfg:/opt/garrysmod/garrysmod/volume/ \
|
-v ./mycfg/my.terrortown.cfg:/opt/garrysmod/garrysmod/volume/ \
|
||||||
hackebein/garrysmod
|
hackebein/garrysmod
|
||||||
`
|
```
|
||||||
|
|
||||||
## Additional Environment
|
## Additional Environment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user