This is a docker-compose template for the TeamWin-TF2-Server
- Linux or Docker-Desktop set to "linux mode".
- Docker Engine and Docker-Compose.
- A public facing docker network with the name
Public
. - Ports forwarded from router to the machine hosting the docker container.
- Get yourself a game server token from Steam here.
- Then get yourself a Steam Web Api key from here.
- Create a file named
.env
and populate it with the following (replacing the values here with real ones):
SRCDS_TOKEN=${GAME_SERVER_TOKEN}
SRCDS_WORKSHOP_AUTHKEY=${WEB_API_KEY}
SRCDS_PW=${SERVER_PASSWORD}
SRCDS_RCONPW=${SERVER_RCON_PASSWORD}
- Then run
docker-compose up -d