{"id":18951854,"url":"https://github.com/gameservermanagers/docker-gameserver","last_synced_at":"2025-04-12T19:48:02.511Z","repository":{"id":62701790,"uuid":"553179659","full_name":"GameServerManagers/docker-gameserver","owner":"GameServerManagers","description":"Dockerised Game Servers using LinuxGSM","archived":false,"fork":false,"pushed_at":"2025-03-24T09:43:16.000Z","size":380,"stargazers_count":254,"open_issues_count":28,"forks_count":26,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-12T19:47:45.899Z","etag":null,"topics":["dedicated-game-server","docker","game-server","mulitplayer-game-server"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GameServerManagers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"dgibbs64","patreon":"dgibbs","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-10-17T20:59:43.000Z","updated_at":"2025-04-10T09:34:50.000Z","dependencies_parsed_at":"2023-02-18T12:19:30.407Z","dependency_job_id":"b0a2fc48-5486-4c91-846c-a194251b600e","html_url":"https://github.com/GameServerManagers/docker-gameserver","commit_stats":{"total_commits":244,"total_committers":5,"mean_commits":48.8,"dds":"0.35245901639344257","last_synced_commit":"25a1ed79c7a0e704b79e5fef2a066484ddf977f1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameServerManagers%2Fdocker-gameserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameServerManagers%2Fdocker-gameserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameServerManagers%2Fdocker-gameserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameServerManagers%2Fdocker-gameserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GameServerManagers","download_url":"https://codeload.github.com/GameServerManagers/docker-gameserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625497,"owners_count":21135513,"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":["dedicated-game-server","docker","game-server","mulitplayer-game-server"],"created_at":"2024-11-08T13:29:44.595Z","updated_at":"2025-04-12T19:48:02.485Z","avatar_url":"https://github.com/GameServerManagers.png","language":"Shell","readme":"# LinuxGSM Game Server Docker Image\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://linuxgsm.com\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/4478206/197897104-bb718d2e-09a0-4f83-8e86-c829044750a9.jpg\" alt=\"LinuxGSM\"\u003e\u003c/a\u003e\n\u003cbr\u003e\n\u003ca href=\"https://hub.docker.com/r/gameservermanagers/gameserver\"\u003e\u003cimg src=\"https://img.shields.io/docker/pulls/gameservermanagers/gameserver.svg?style=flat-square\u0026amp;logo=docker\u0026amp;logoColor=white\" alt=\"Docker Pulls\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GameServerManagers/docker-gameserver/actions\"\u003e\u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/GameServerManagers/docker-gameserver/docker-publish.yml?style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.codacy.com/gh/GameServerManagers/docker-gameserver/dashboard\"\u003e\u003cimg src=\"https://img.shields.io/codacy/grade/42d400dcdd714ae080d77fcb40d00f1c?style=flat-square\u0026logo=codacy\u0026logoColor=white\" alt=\"Codacy grade\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.valvesoftware.com/wiki/SteamCMD\"\u003e\u003cimg src=\"https://img.shields.io/badge/SteamCMD-000000?style=flat-square\u0026amp;logo=Steam\u0026amp;logoColor=white\" alt=\"SteamCMD\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GameServerManagers/docker-gameserver/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/gameservermanagers/docker-gameserver?style=flat-square\" alt=\"MIT License\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n## About\n\nLinuxGSM is a command-line tool for quick, simple deployment and management of Linux dedicated game servers. This container image builds weekly and is available on [Docker Hub](https://hub.docker.com/r/gameservermanagers/gameserver) as well as [GitHub Container Registry](https://github.com/GameServerManagers/docker-gameserver/pkgs/container/gameserver).\n\n## Tags\n\nFor a list of available game servers visit [linuxgsm.com](https://linuxgsm.com) or the [serverlist.csv](https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/data/serverlist.csv). For all tags see the [tags list](https://hub.docker.com/r/gameservermanagers/gameserver/tags) on Docker Hub.\n\n## Usage\n\n### docker-compose\nHere is an example docker-compose configuration for the \"csgoserver\" using the image `gameservermanagers/gameserver:csgo`. Please note that the ports may vary depending on the specific game server. More docker-compose examples are available [here](https://github.com/GameServerManagers/docker-gameserver/tree/main/docker-compose).\n\n```\nversion: '3.4'\nservices:\n  linuxgsm-csgo:\n    image: gameservermanagers/gameserver:csgo\n    # image: ghcr.io/gameservermanagers/gameserver:csgo\n    container_name: csgoserver\n    volumes:\n      - /path/to/csgoserver:/data\n    ports:\n      - \"27015:27015/tcp\"\n      - \"27015:27015/udp\"\n      - \"27020:27020/udp\"\n      - \"27005:27005/udp\"\n    restart: unless-stopped\n```\n\n### Docker CLI\nAlternatively, you can use the Docker CLI to run the container:\n```\ndocker run -d \\\n  --name csgoserver \\\n  -v /path/to/csgoserver:/data \\\n  -p 27015:27015 \\\n  -p 27020:27020/udp \\\n  -p 27005:27005/udp \\\n  --restart unless-stopped \\\n  gameservermanagers/gameserver:csgo\n```\n### First Run\nBefore the first run, make sure to edit the docker-compose.yml file by changing the image tag and container_name to match your chosen game server. Upon the initial run, LinuxGSM will install the selected server and start running. The game server details will be displayed once the installation is complete.\n\n### Game Server Ports\nEach game server has specific port requirements. Therefore, after the initial run, you need to configure the appropriate ports in your docker-compose file. The required ports will be outputted after the installation process and every time the Docker container is started. Automation for this process is planned for the future.\n\n\u003e There are future plans to auto generate ports in the examples for you.\n\n### Volumes\nThere are two types of persistent storage with Docker: volumes and bind mounts, both of which are compatible with this container. For more information on the differences between the two, please refer to the [Docker documentation](https://docs.docker.com/storage/).\n\nSome game servers store files outside of the serverfiles directory, within other parts of the home directory. The `data` directory serves as the home directory for the LinuxGSM user and stores all game server files. Make sure to mount this directory to a persistent storage location.\n\n### LinuxGSM User\nThis container uses gosu to run gameservers as the `linuxgsm` user instead of root. If you are using a bind mount for the data directory, ensure that the permissions are appropriately set.\n\n### Run LinuxGSM commands\nYou can execute LinuxGSM commands within the container using the docker exec command. Here's an example to run the `./csgoserver details` command as the `linuxgsm` user:\n```\ndocker exec -it --user linuxgsm csgoserver ./csgoserver details\n```\n","funding_links":["https://github.com/sponsors/dgibbs64","https://patreon.com/dgibbs"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameservermanagers%2Fdocker-gameserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgameservermanagers%2Fdocker-gameserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameservermanagers%2Fdocker-gameserver/lists"}