Managing dedicated game servers can be a complex process, but it doesn't have to be. This powerful command-line tool removes the difficulty from server administration, allowing you to deploy, configure, and maintain over 130 different game servers on your favorite Linux distributions. By automating routine tasks, you can spend less time wrestling with the command line and more time playing your games.\n\nEnjoy a comprehensive suite of features designed for optimal server performance:\n* Automated Install & Update: Easily integrate with SteamCMD to download dependencies and keep your server running the latest version.\n* Active Monitoring & Alerts: Automatically detect crashes, restart your server, and receive instant notifications via Discord, Slack, Telegram, or email.\n* Effortless Backups: Create quick archives of your server files before making configuration changes.\n* Live Console & Debugging: Access background processes and run servers directly in your terminal to quickly diagnose issues.
services:
linuxgsm:
image: gameservermanagers/gameserver:latest
container_name: linuxgsm
restart: unless-stopped
environment:
# Specify the game server to install (e.g., cs2server, mcserver, rustserver)
- GAMESERVER=cs2server
- LGSM_GITHUBUSER=GameServerManagers
- LGSM_GITHUBREPO=LinuxGSM
- LGSM_GITHUBBRANCH=master
# Game Server Login Token (if required by the specific game)
- GSLT=${GSLT}
volumes:
- ./data:/data
ports:
# Ports vary by game. Below are default ports for CS2.
# Adjust accordingly for other games (e.g., Minecraft uses 25565).
- "27015:27015/tcp"
- "27015:27015/udp"
- "27020:27020/udp"# Game Server Login Token (Required for public listing on some games like CS2, TF2)
# Get your token from the respective game developer's portal (e.g., Steam Game Server Account Management)
GSLT=your_game_server_login_tokenAuto-fetched about 21 hours ago
Auto-fetched about 21 hours ago