mirror of
https://codeberg.org/spire/docker-tf2-server.git
synced 2026-08-02 12:14:52 +02:00
Init
This commit is contained in:
commit
1a75524b07
5 changed files with 48 additions and 0 deletions
16
README.md
Normal file
16
README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
## Team Fortress 2 + Docker
|
||||
|
||||
### Details:
|
||||
By default image is build with enabled autoupdate feature (take a look at tf.sh file).
|
||||
You can create new Dockerfile based on that image and customize it with plugins, configs, CMD and ENTRYPOINT instructions.
|
||||
|
||||
```shell
|
||||
# Build image and tag it as tf2
|
||||
docker build github.com/Gonzih/docker-tf2-server -t tf2
|
||||
|
||||
# Run image with default options (CMD in Dockerfile)
|
||||
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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue