Dockerfiles for Garry's Mod
Go to file
2017-12-06 23:15:39 +01:00
latest add configuration options 2017-12-06 23:15:39 +01:00
minimal add configuration options 2017-12-06 23:15:39 +01:00
recommended add configuration options 2017-12-06 23:15:39 +01:00
.gitignore Add gitignore 2017-01-15 13:52:34 +00:00
LICENSE Initial commit 2017-01-15 13:29:49 +01:00
README.md add configuration options 2017-12-06 23:15:39 +01:00

Supported tags and respective Dockerfile links

What is Garry's Mod?

Garry's Mod is a physics sandbox. There aren't any predefined aims or goals. We give you the tools and leave you to play.

Update Hooks

  • on base image update (supported by Docker Hub)
  • on repository update (supported by Docker Hub)
  • on steam repository content update (supported by Huginn) coming soon

Quick Start

Basic

docker run \ --expose 27015 \ hackebein/garrysmod

Public

docker run \ --expose 27015 \ -e "GLST=..." \ hackebein/garrysmod

Get your GLST (APPID: 4000)

Public with Workshop Collection

docker run \ --expose 27015 \ -e "GLST=..." \ -e "AUTHKEY=..." \ -e "WORKSHOPCOLLECTIONID=..." \ hackebein/garrysmod

Get your AUTHKEY

Config

docker run \ --expose 27015 \ -e "GLST=..." \ -e "AUTHKEY=..." \ -e "WORKSHOPCOLLECTIONID=..." \ --volume ./mycfg:/opt/garrysmod/garrysmod/volume \ hackebein/garrysmod

Autoload {gamemode}.cfg from volume.

By default environment you can mount files like my.server.cfg and my.{gamemode}.cfg for Server and gamemode specific configurations

docker run \ --expose 27015 \ -e "GLST=..." \ -e "AUTHKEY=..." \ -e "WORKSHOPCOLLECTIONID=..." \ --volume ./mycfg/my.server.cfg:/opt/garrysmod/garrysmod/volume/ \ --volume ./mycfg/my.terrortown.cfg:/opt/garrysmod/garrysmod/volume/ \ hackebein/garrysmod

Additional Environment

PORT: Connection Port (Default: 27015)

TICKRATE: Tickrate of server, Attention: Change not recommended (Default: 66)

CLIENTPORT: (Default: 27005)

GAMEMODE: (Default: sandbox)

MAP: Map on Server start (Default: gm_flatgrass)

CONFIG: Server config, Attention: Change not recommended (Default: server.cfg)

MAXPLAYERS: Max players (Default: 16)

LOADURLIMG: URL for LOADURL default (Default: <URL>)

LOADURL: Loading screen URL (Default: <LOADURLIMG Fullscreen>)

CUSTOMPARAMETERS: additional parameters (Default: )