Sign inSign up

umlatt/steamcmd

By umlatt

•Updated 10 days ago

A variation on cm2networks/steamcmd, designed to work with the PEON project *should work stand-alone

Image
Web servers
Operating systems
0

2.3K

umlatt/steamcmd repository overview

⁠Contained Steam [SteamCMD]

Docker Pulls Docker Stars

⁠Peon SteamCMD

The github⁠ repo for developing the container.

⁠State

RELEASE

Functionality working as required (tested with Valhiem and CSGO steam servers)

⁠Version Info

Check changelog⁠ for more information

  • Deployed with cm2network/steamcmd as a base image
  • Added generic functions to allow the easy creation of recipes to deploy servers.
⁠Architecture/Rules

This is a base image for certain game servers that are not Linux native. Use default [cm2network/steamcmd] if Windows is not required (waaaaaaay more efficient))

Source container provided by Valve SteamCMD - Docker⁠

⁠Installation

⁠Automated mode

This container has been built as part of the PEON project⁠. The intention is to make deploying servers accessible to non-programmer container-skilled persons. It would be great if you'd be willing to test the PEON project and provide feedback. Go here⁠ to get started.

⁠Stand-Alone mode

This recipe can be used without the wider PEON project components.

⁠Guide

For this guide, please make sure you have Docker Compose⁠ installed and running.

  1. Download the relevant game folder from here⁠ and its contents.
  2. Create a file docker-compose.yml in the directory with the content being described in the README.md file for that game.
  3. Ensure that any scripts in the actions directory (i.e. server_start, init_custom) are executable by the docker user.
chown 1000:1000 server_start    
chmod u+x server_start
  1. Start the server. You can now start the server with the following command docker-compose up -d/docker compose up -d. You can then follow the deployment using docker-compose logs -f
⁠docker-compose.yml

You can change any of the settings in the docker-compose.yml file according to your needs.

e.g. Valhiem

version: '3'
services:
  server:
    container_name: peon.warcamp.valhiem.default
    hostname: peon.steamcmd.valhiem
    image: umlatt/steamcmd
    ports:
      - 2456:2456/udp
      - 2457:2457/udp
      - 2458:2458/udp
    environment:
      - STEAMID=896660
      # GAME SERVER VARIABLES
      - PORT=2456
      - SERVERNAME="my-valhiem-server"
      - WORLDNAME="my-valhiem-world"
      - PASSWORD="some-password"
    volumes:
      - ./actions:/actions
      - ./data:/home/steam/steamcmd/data
      - ./config:/home/steam/config
      - ./user:/home/steam/.config/unity3d/IronGate/Valheim
⁠Docker Run

This can be deployed as a stand-alone container to run Steam game server, without the PEON integration. However, it is probably more prudent to rather use the image cm2network/steamcmd. If you still in insist on using this one, then please see below.

# Start server
docker run -dit --entrypoint /bin/bash --name containedsteam -p [gameport_01]:[gameport_01] umlatt/steamcmd:latest
# Access container
docker exec -it containedsteam bash
⁠Peon Project⁠

An OpenSource project to assist gamers in self-deploying/managing game servers.
Intended to be a one-stop-shop for game server deployment/management.
If run on a public/paid cloud, it is architected to try to minimise costs (easy schedule/manage uptime vs downtime)\

⁠Support the Project

PEON is an open-source project that I am working on in my spare time (for fun). However, if you still wish to say thanks, please pick up a virtual coffee for me at Ko-fi.

ko-fi

Tag summary

Content type

Image

Digest

sha256:e194c295e…

Size

168.3 MB

Last updated

10 days ago

docker pull umlatt/steamcmd