{"id":26102692,"url":"https://github.com/CM2Walki/csgo","last_synced_at":"2025-03-09T19:42:25.354Z","repository":{"id":36626296,"uuid":"129719076","full_name":"CM2Walki/CSGO","owner":"CM2Walki","description":"Dockerfile for automated build of a CS:GO gameserver:  https://hub.docker.com/r/cm2network/csgo/","archived":true,"fork":false,"pushed_at":"2023-10-05T21:23:52.000Z","size":433,"stargazers_count":249,"open_issues_count":0,"forks_count":76,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-04T09:37:25.967Z","etag":null,"topics":["counter-strike","csgo","csgo-server","dedicated-server","dockerfile","game","game-server","metamod","sourcemod"],"latest_commit_sha":null,"homepage":"https://CM2.Network","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/CM2Walki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"CM2Walki"}},"created_at":"2018-04-16T09:33:02.000Z","updated_at":"2024-10-16T23:45:55.000Z","dependencies_parsed_at":"2023-10-04T02:55:17.820Z","dependency_job_id":"f5b1641f-6f38-44bf-8f8c-616fc31402b2","html_url":"https://github.com/CM2Walki/CSGO","commit_stats":{"total_commits":97,"total_committers":13,"mean_commits":7.461538461538462,"dds":0.4329896907216495,"last_synced_commit":"e881615ee6b1189f03f4849c3a970d146ac6e004"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CM2Walki%2FCSGO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CM2Walki%2FCSGO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CM2Walki%2FCSGO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CM2Walki%2FCSGO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CM2Walki","download_url":"https://codeload.github.com/CM2Walki/CSGO/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242744061,"owners_count":20178171,"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":["counter-strike","csgo","csgo-server","dedicated-server","dockerfile","game","game-server","metamod","sourcemod"],"created_at":"2025-03-09T19:42:18.851Z","updated_at":"2025-03-09T19:42:25.352Z","avatar_url":"https://github.com/CM2Walki.png","language":"Shell","funding_links":["https://github.com/sponsors/CM2Walki"],"categories":["Application Recommendation"],"sub_categories":["🎮 Game Servers"],"readme":"### Repository Archived\n\n🚨 **Attention All Contributors \u0026 Users** 🚨\n\nDue to the release of [Counter-Strike 2](https://store.steampowered.com/app/730/CounterStrike_2/), this repository is now **archived** and will no longer be actively maintained. The Docker Hub images will still be available, however they'll no longer receive updates.\n\n🔗 **We're Moving!** 🔗\n\n👉 [Development continues on the CS2 Repository](https://github.com/CM2Walki/CS2) 👈\n\nPlease make sure to star ⭐ the new repository and submit any new issues, pull requests, or contributions there.\n\nRegards,\u003cbr\u003e\nWalentin 'Walki' Lamonos\n\u003chr\u003e\n\n[![](https://img.shields.io/codacy/grade/1a72f69b97bc46cfaec6cb77819beb66)](https://hub.docker.com/r/cm2network/csgo/) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/cm2network/csgo)](https://hub.docker.com/r/cm2network/csgo/) [![Docker Stars](https://img.shields.io/docker/stars/cm2network/csgo.svg)](https://hub.docker.com/r/cm2network/csgo/) [![Docker Pulls](https://img.shields.io/docker/pulls/cm2network/csgo.svg)](https://hub.docker.com/r/cm2network/csgo/) [![](https://img.shields.io/docker/image-size/cm2network/csgo)](https://img.shields.io/docker/image-size/cm2network/csgo) [![Discord](https://img.shields.io/discord/747067734029893653)](https://discord.gg/7ntmAwM)\n# Supported tags and respective `Dockerfile` links\n-\t[`base`, `latest` (*bullseye/Dockerfile*)](https://github.com/CM2Walki/CSGO/blob/master/bullseye/Dockerfile)\n-\t[`metamod` (*bullseye/Dockerfile*)](https://github.com/CM2Walki/CSGO/blob/master/bullseye/Dockerfile)\n-\t[`sourcemod` (*bullseye/Dockerfile*)](https://github.com/CM2Walki/CSGO/blob/master/bullseye/Dockerfile)\n\n# What is Counter-Strike: Global Offensive?\nCounter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago. CS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.).\nThis Docker image contains the dedicated server of the game.\n\n\u003e  [CS:GO](https://store.steampowered.com/app/730/CounterStrike_Global_Offensive/)\n\n\u003cimg src=\"https://1000logos.net/wp-content/uploads/2017/12/CSGO-Logo.png\" alt=\"logo\" width=\"300\"/\u003e\u003c/img\u003e\n\n# How to use this image\n## Hosting a simple game server\n\nRunning on the *host* interface (recommended):\u003cbr/\u003e\n```console\n$ docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo\n```\n\nRunning using a bind mount for data persistence on container recreation:\n```console\n$ mkdir -p $(pwd)/csgo-data\n$ chmod 777 $(pwd)/csgo-data # Makes sure the directory is writeable by the unprivileged container user\n$ docker run -d --net=host -v $(pwd)/csgo-data:/home/steam/csgo-dedicated/ --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo\n```\n\nRunning multiple instances (increment SRCDS_PORT and SRCDS_TV_PORT):\n```console\n$ docker run -d --net=host --name=csgo-dedicated2 -e SRCDS_PORT=27016 -e SRCDS_TV_PORT=27021 -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo\n```\n\n`SRCDS_TOKEN` **is required to be listed \u0026 reachable. Generate one here using AppID `730`:**  \n[https://steamcommunity.com/dev/managegameservers](https://steamcommunity.com/dev/managegameservers)\u003cbr/\u003e\u003cbr/\u003e\n`SRCDS_WORKSHOP_AUTHKEY` **is required to use workshop features:**  \n[https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey)\u003cbr/\u003e\n\n**It's also recommended to use \"--cpuset-cpus=\" to limit the game server to a specific core \u0026 thread.**\u003cbr/\u003e\n**The container will automatically update the game on startup, so if there is a game update just restart the container.**\n\n# Configuration\n## Environment Variables\nFeel free to overwrite these environment variables, using -e (--env): \n```dockerfile\nSRCDS_TOKEN=\"changeme\" (value is is required to be listed \u0026 reachable, retrieve token here (AppID 730): https://steamcommunity.com/dev/managegameservers)\nSRCDS_RCONPW=\"changeme\" (value can be overwritten by csgo/cfg/server.cfg) \nSRCDS_PW=\"changeme\" (value can be overwritten by csgo/cfg/server.cfg) \nSRCDS_PORT=27015\nSRCDS_TV_PORT=27020\nSRCDS_NET_PUBLIC_ADDRESS=\"0\" (public facing ip, useful for local network setups)\nSRCDS_IP=\"0\" (local ip to bind)\nSRCDS_LAN=\"0\"\nSRCDS_FPSMAX=300\nSRCDS_TICKRATE=128\nSRCDS_MAXPLAYERS=14\nSRCDS_STARTMAP=\"de_dust2\"\nSRCDS_REGION=3\nSRCDS_MAPGROUP=\"mg_active\"\nSRCDS_GAMETYPE=0\nSRCDS_GAMEMODE=1\nSRCDS_HOSTNAME=\"New CSGO Server\" (first launch only)\nSRCDS_WORKSHOP_START_MAP=0\nSRCDS_HOST_WORKSHOP_COLLECTION=0\nSRCDS_WORKSHOP_AUTHKEY=\"\" (required to use host_workshop_map)\nADDITIONAL_ARGS=\"\" (Pass additional arguments to srcds. Make sure to escape correctly!)\n```\n## Config\nThe image contains a copy of the official ESL config files from [here](https://play.eslgaming.com/download/26251762/). You can edit the config using this command:\n```console\n$ docker exec -it csgo-dedicated nano /home/steam/csgo-dedicated/csgo/cfg/server.cfg\n```\n\nIf you want to learn more about configuring a CS:GO server check this [documentation](https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Advanced_Configuration).\n\n# Image Variants:\nThe `csgo` images come in three flavors, each designed for a specific use case.\n\n## `csgo:latest`\nThis is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is a bare-minimum CSGO dedicated server containing no 3rd party plugins.\u003cbr/\u003e\n\n## `csgo:metamod`\nThis is a specialized image. It contains the plugin environment [Metamod:Source](https://www.sourcemm.net) which can be found in the addons directory. You can find additional plugins [here](https://www.sourcemm.net/plugins).\n\n## `csgo:sourcemod`\nThis is another specialized image. It contains both [Metamod:Source](https://www.sourcemm.net) and the popular server plugin [SourceMod](https://www.sourcemod.net) which can be found in the addons directory. [SourceMod](https://www.sourcemod.net) supports a wide variety of additional plugins that can be found [here](https://www.sourcemod.net/plugins.php).\n\n# Contributors\n[![Contributors Display](https://badges.pufler.dev/contributors/CM2Walki/csgo?size=50\u0026padding=5\u0026bots=false)](https://github.com/CM2Walki/csgo/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCM2Walki%2Fcsgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCM2Walki%2Fcsgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCM2Walki%2Fcsgo/lists"}