{"id":17871624,"url":"https://github.com/gmazoyer/docker-steamcmd","last_synced_at":"2025-06-14T11:07:13.112Z","repository":{"id":145540199,"uuid":"159936621","full_name":"gmazoyer/docker-steamcmd","owner":"gmazoyer","description":"A container to help running steamcmd based servers.","archived":false,"fork":false,"pushed_at":"2020-07-09T16:54:07.000Z","size":18,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T23:32:43.109Z","etag":null,"topics":["docker","gameserver","steam","steamcmd"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmazoyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-01T11:13:46.000Z","updated_at":"2024-12-31T19:11:42.000Z","dependencies_parsed_at":"2023-04-08T10:17:56.284Z","dependency_job_id":null,"html_url":"https://github.com/gmazoyer/docker-steamcmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gmazoyer/docker-steamcmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmazoyer%2Fdocker-steamcmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmazoyer%2Fdocker-steamcmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmazoyer%2Fdocker-steamcmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmazoyer%2Fdocker-steamcmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmazoyer","download_url":"https://codeload.github.com/gmazoyer/docker-steamcmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmazoyer%2Fdocker-steamcmd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259804869,"owners_count":22913903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","gameserver","steam","steamcmd"],"created_at":"2024-10-28T10:36:39.956Z","updated_at":"2025-06-14T11:07:13.079Z","avatar_url":"https://github.com/gmazoyer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# steamcmd Docker container\n\nThis `Dockerfile` helps to start **steamcmd** related processes isolating them\nwhile they run. This image is based on `debian:buster`.\n\nIt can be used to start any game servers that can be setup using **steamcmd**.\n\nThis `Docker` container expects at least two volumes to work:\n\n  1. A volume used to store scripts for starting a server\n  2. A volume used to store server's data\n\nIn the scripts volume, a script called `server.sh` must be present to start\nthe container. This script is the entrypoint of the container and must\nperform all steps relative to the server execution (update/start/…).\n\n## Writing a server script\n\nScript examples are available in the `scripts` directory. They can be used as\nthey are or modified to address any specific needs.\n\n## Running a server\n\nFirst the **steamcmd** image must be pulled from\n[Docker Hub](https://hub.docker.com/) using the following command:\n\n```\n# docker pull gmazoyer/docker-steamcmd\n```\n\nAfter that two directories must be mounted as volumes to store the server's\ndata and server's script.\n\n```\n# mkdir -p /srv/docker/kf2/{data,scripts}\n```\n\nOnce created, these directories can be used as volumes when starting the\ndocker instance. Make sure that a script called `server.sh` is in the\n`scripts` directory to start the server instance properly.\n\n```\n# docker run -d --name=kf2 \\\n             -v /srv/docker/kf2/data:/home/steam/server_data \\\n             -v /srv/docker/kf2/scripts:/home/steam/server_scripts \\\n             -p 0.0.0.0:20560:20560/udp \\\n             -p 0.0.0.0:27015:27015/udp \\\n             -p 0.0.0.0:7777:7777/udp \\\n             -p 0.0.0.0:8080:8080 \\\n         gmazoyer/docker-steamcmd:latest\n```\n\nThis will run a Killing Floor 2 server, using the script previously given,\nexposing ports on the host to make the server publicly available.\n\nSince server's data are stored in a volume, it is possible to adjust the\nserver's configuration files while the server is offline. Any changes made to\nfiles in the `data` or `scripts` will be persistent.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmazoyer%2Fdocker-steamcmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmazoyer%2Fdocker-steamcmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmazoyer%2Fdocker-steamcmd/lists"}