Go to file
2018-11-03 00:03:41 +01:00
.project ~ temp 2018-09-23 11:26:47 +02:00
.travis.yml + prepared master merge 2018-09-28 14:53:30 +02:00
Dockerfile + added cronjobs monitor / update / restart Sunday 10.00 2018-11-02 20:06:15 +01:00
entrypoint.sh + small improvement 2018-11-03 00:03:41 +01:00
experimental.sh + added cronjobs monitor / update / restart Sunday 10.00 2018-11-02 20:06:15 +01:00
forceWorkshopDownload.sh ~ working on custom args 2018-09-25 20:15:40 +02:00
installAndMountAddons.sh ~ working on custom args 2018-09-25 20:15:40 +02:00
LICENSE + prepared master merge 2018-09-28 14:53:30 +02:00
README.md + server stops safely 2018-11-02 22:24:16 +01:00
server.cfg + added hostname, password, voiceenabled options 2018-10-03 00:50:19 +02:00

docker-ttt

GMOD TTT server image, https://hub.docker.com/r/jusito/

TODO

  • use readme template
  • force cleanup of downloaded elements => removed workshop elements are otherwise used

run example

docker run -d -p 27015:27015/tcp -p 27015:27015/udp -e WORKSHOP_COLLECTION_ID=123456 -e INSTALL_CSS=true "jusito/docker-ttt" +host_workshop_collection 123456 +map ttt_rooftops_2016_v1 -maxplayers

-d exit if entrypoint exits tcp port for rcon, if you want to use it start with -usercon +rcon_password "yourPW" udp port for game traffic

access console

docker exec -it CONTAINER ./home/steam/gmodserver console

environment variables

If set every workshop item at the collection is added as forced, that means its automatically downloaded on connecting. Don't add collections with maps here just like weapons aso. WORKSHOP_COLLECTION_ID=

This variables are used to write the value to the server.cfg: SERVER_NAME="" SERVER_PASSWORD="" SERVER_VOICE_ENABLE="1"

If set to "true" the game is installed and mounted, most of the time you want to add the css content. INSTALL_CSS=false INSTALL_HL2=false INSTALL_HLDM=false INSTALL_TF2=false

server config

http://ttt.badking.net/config-and-commands/convars https://wiki.garrysmod.de/server.cfg

Path in container is: docker cp "your server.cfg path" CONTAINER:/home/steam/serverfiles/garrysmod/cfg/server.cfg