Giter Site home page Giter Site logo

linuxgsm-docker's Introduction

note: This Repo is now retired and replaced with a new Docker container https://github.com/GameServerManagers/docker-gameserver


LinuxGSM LinuxGSM Docker Container

LinuxGSM is the command-line tool for quick, simple deployment and management of Linux dedicated game servers.

This docker container is under development is subject to significant change and not considured stable.

A dockerised version of LinuxGSM https://linuxgsm.com

Dockerhub https://hub.docker.com/r/gameservermanagers/linuxgsm-docker/

Usage

docker-compose

Below is an example docker-compose for csgoserver. Ports will vary depending upon server.

version: '3.4'
services:
linuxgsm:
  image: "ghcr.io/gameservermanagers/linuxgsm-docker:latest"
  container_name: csgoserver
  environment:
    - GAMESERVER=csgoserver
    - LGSM_GITHUBUSER=GameServerManagers
    - LGSM_GITHUBREPO=LinuxGSM
    - LGSM_GITHUBBRANCH=master
  volumes:
    - /path/to/serverfiles:/home/linuxgsm/serverfiles
    - /path/to/log:/home/linuxgsm/log
    - /path/to/config-lgsm:/home/linuxgsm/lgsm/config-lgsm
  ports:
    - "27015:27015/tcp"
    - "27015:27015/udp"
    - "27020:27020/udp"
    - "27005:27005/udp"
  restart: unless-stopped

First Run

Edit the docker-compose.yml file changing GAMESERVER= to the game server of choice. On first run linuxgsm will install your selected server and will start running. Once completed the game server details will be output.

Game Server Ports

Each game server has its own port requirements. Becuase of this you will need to configure the correct ports in your docker-compose after first run. The required ports are output once installation is completed and everytime the docker container is started.

Volumes

volumes are required to save persistant data for your game server. The example above covers a basic csgoserver however some game servers save files in other places. Please check all the correct locations are mounted to remove the risk of loosing save data.

Run LinuxGSM commands

Commands can be run just like standard LinuxGSM using the docker exec command.


docker exec -it csgoserver ./csgoserver details

linuxgsm-docker's People

Contributors

dgibbs64 avatar dependabot[bot] avatar bbbosp avatar beilber avatar clairmont32 avatar mrdkge avatar jangalek avatar j4s0n avatar pfannenhans avatar matthewh86 avatar samrocketman avatar eastonboy99 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.