A variation on cm2networks/steamcmd, designed to work with the PEON project *should work stand-alone
2.3K
The github repo for developing the container.
RELEASE
Functionality working as required (tested with Valhiem and CSGO steam servers)
Check changelog for more information
cm2network/steamcmd as a base imageThis 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
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.
This recipe can be used without the wider PEON project components.
For this guide, please make sure you have Docker Compose installed and running.
docker-compose.yml in the directory with the content being described in the README.md file for that game.actions directory (i.e. server_start, init_custom) are executable by the docker user.chown 1000:1000 server_start
chmod u+x server_start
docker-compose up -d/docker compose up -d. You can then follow the deployment using docker-compose logs -fYou 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
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
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)\
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.
Content type
Image
Digest
sha256:e194c295e…
Size
168.3 MB
Last updated
10 days ago
docker pull umlatt/steamcmd