add information about overlay system to Readme

This commit is contained in:
Lars Olzem 2021-02-12 01:14:45 +01:00
parent d243df342a
commit dc241417d8
No known key found for this signature in database
GPG Key ID: 358CF5698DDD556E

View File

@ -61,6 +61,9 @@ docker run -it \
## Example for TTT ## Example for TTT
``` ```
# make sure server.cfg file exists
touch ./server.cfg
# start container
docker run -it \ docker run -it \
-p 27015:27015/tcp \ -p 27015:27015/tcp \
-p 27015:27015/udp \ -p 27015:27015/udp \
@ -70,9 +73,11 @@ docker run -it \
-e "WORKSHOP=843519054" \ -e "WORKSHOP=843519054" \
-e "WORKSHOPDL=843519054" \ -e "WORKSHOPDL=843519054" \
-v ./server.cfg:/opt/steam/garrysmod/cfg/server.cfg \ -v ./server.cfg:/opt/steam/garrysmod/cfg/server.cfg \
-v ./overlay:/opt/overlay \
hackebein/garrysmod hackebein/garrysmod
``` ```
Checkout [overlay](https://github.com/Hackebein/docker-srcds#overlay-folder) to overwrite files that are provided by Steam.
Go to [Workshopp Collection](https://steamcommunity.com/sharedfiles/filedetails/?id=843519054) Go to [Workshopp Collection](https://steamcommunity.com/sharedfiles/filedetails/?id=843519054)
## Additional Environment ## Additional Environment
@ -103,4 +108,4 @@ WORKSHOPDL: downloads workshop collection for client before joining
## More Options ## More Options
You can found more configuration options on the parent image page [hackebein/srcds](https://hub.docker.com/r/hackebein/srcds) You can found more configuration options on the parent image page [hackebein/srcds](https://github.com/Hackebein/docker-srcds)