mirror of
https://codeberg.org/spire/docker-tf2-server.git
synced 2026-08-02 12:14:52 +02:00
remove unused maps
This commit is contained in:
parent
da9e07611a
commit
bf9d31e1f9
3 changed files with 19 additions and 3 deletions
|
|
@ -6,9 +6,13 @@ Basic Team Fortress 2 server
|
|||
docker pull spiretf/docker-tf2-server
|
||||
```
|
||||
|
||||
### Maps ###
|
||||
|
||||
In order to reduce the image size this image has most of the maps removed, you'll probably want to add aditional maps to a derived image, install [mapdownloader](https://github.com/spiretf/mapdownloader) or use [spiretf/docker-comp-server](https://hub.docker.com/r/spiretf/docker-comp-server) (comes with mapdownloader) instead.
|
||||
|
||||
### 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 (FROM tf2) and customize it with plugins, configs, CMD and ENTRYPOINT instructions.
|
||||
You can create new Dockerfile based on that image (FROM spiretf/docker-tf2-server) and customize it with plugins, configs, CMD and ENTRYPOINT instructions.
|
||||
|
||||
|
||||
```shell
|
||||
|
|
@ -16,7 +20,7 @@ You can create new Dockerfile based on that image (FROM tf2) and customize it wi
|
|||
docker run -d -p 27015:27015/udp spiretf/docker-tf2-server
|
||||
|
||||
# Run image with custom options
|
||||
docker run -d -p 27015:27015/udp spiretf/docker-tf2-server +sv_pure 2 +map ctf_2fort.bsp +maxplayers 32
|
||||
docker run -d -p 27015:27015/udp spiretf/docker-tf2-server +sv_pure 2 +map pl_badwater.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 spiretf/docker-tf2-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue