Run the docker container:
$ docker run \
--mount 'source=gmod,target=/home/steam/Steam/steamapps' \
--mount 'source=steamcmd,target=/home/steam/steamcmd' \
-e SRCDS_MAXPLAYERS=16 \
-e SRCDS_STARTMAP=gm_flatgrass \
-e SRCDS_TOKEN=your_srcds_token \
-e SRCDS_HOST_WORKSHOP_COLLECTION=your_collection \
--name simpler_gmod_server \
-it bonnetn/simpler-gmod-server
Enter your container:
$ docker exec -it simpler_gmod_server bash
You can use a generator to build a server cfg: https://csite.io/tools/gmod-universal-cfg.
Once done, paste it in /home/steam/Steam/steamapps/GarrysModDS/common/cfg
Clone your addons in /home/steam/Steam/steamapps/GarrysModDS/common/addons.
They will fetched and updated every time the server restarts.
Content type
Image
Digest
Size
214.9 MB
Last updated
about 5 years ago
docker pull bonnetn/simpler-gmod-server