From eb692495e63b0d7343523e241f7e164554357c19 Mon Sep 17 00:00:00 2001 From: Cypher100 Date: Sat, 25 Oct 2014 09:54:53 -0500 Subject: [PATCH] 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. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1f5f2c4..ace6501 100644 --- a/README.md +++ b/README.md @@ -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 ```