TeamFortress2

TeamFortress2

Docker 应用程序 from ich777's Repository

概述

This Docker will download and install TeamFortress2 and run it. It will also install SteamCMD (you can have multiple installations with only one steamcmd directory, check out my other containers). ATTENTION: First Startup can take very long since it downloads the game server files! PUBLIC PLAY: If you want that your server is public listed you must add '+sv_setsteamaccount YOURTOKEN' to the GAME_PARAMS (without the quotes and replace YOURTOKEN with your token). Create your token here: https://steamcommunity.com/dev/managegameservers (every gameserver needs it's own token!!!) Update Notice: Simply restart the container if a newer version of the game is available. You can also run multiple servers with only one SteamCMD directory!

运行时参数

网络
bridge
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

SteamCMDPathrw

Container Path: /serverdata/steamcmd

目标
/serverdata/steamcmd
价值
/mnt/user/appdata/steamcmd
ServerFilesPathrw

Container Path: /serverdata/serverfiles

目标
/serverdata/serverfiles
价值
/mnt/cache/appdata/tf2
GAME_IDVariable

The GAME_ID that the container download at startup. (https://developer.valvesoftware.com/wiki/Dedicated_Servers_List)

价值
232250
GAME_NAMEVariable

Game name to start (is connected to the GAME_PARAMS).

价值
tf
GAME_PARAMSVariable

Enter your start up commands for the server.

价值
+sv_pure 1 +randommap +maxplayers 24
TCP RCONPorttcp

TCP RCON Port (not required)

目标
27015
价值
27015
UDPPortudp

UDP Gameport (if you need another port, please delete this entry and create a new UDP Port with the required port number, also don't forget to click an 'Show more settings ...' and change the port number

目标
27015
价值
27015
Validate InstallationVariable

Set the Variable to 'true' if you want to validate the installation otherwise leave it blank.

目标
VALIDATE
GAME_PORTVariable

Container Variable: GAME_PORT

价值
27015
UIDVariable

Container Variable: UID

价值
99
GIDVariable

Container Variable: GID

价值
100

下载统计数据

6,558,830
下载总数
27,630
本月
25,838
平均每月

长期下载总量

加载图表...

详细信息

存储库
ghcr.io/ich777/steamcmd:tf2
最后更新2026-02-03
初见2019-04-22

在Unraid 上运行 TeamFortress2 。

TeamFortress2 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。