mirror of
https://github.com/luzifer-docker/docker-tf2-server.git
synced 2024-12-20 18:01:16 +00:00
Update README.md
Their is a way to add in the config file without using a dockerfile to add it. This makes it possible to deploy multiple servers with each of their own config quickly.
This commit is contained in:
parent
0038ae8e9a
commit
eb692495e6
1 changed files with 3 additions and 0 deletions
|
@ -13,4 +13,7 @@ docker run -d -p 27015:27015/udp tf2
|
|||
|
||||
# Run image with custom options
|
||||
docker run -d -p 27015:27015/udp tf2 +sv_pure 2 +map ctf_2fort.bsp +maxplayers 32
|
||||
|
||||
# Run image with custom config
|
||||
docker run -d -p 27015:27015/udp -v ~/server.cfg:/home/tf2/hlserver/tf2/tf/cfg/server.cfg:ro tf2
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue