1
0
Fork 0
mirror of https://github.com/Luzifer/rust-server.git synced 2024-12-22 12:21:19 +00:00
Docker wrapper around Linux Game Server Managers for Rust
Find a file
Knut Ahlers ea382105fe
Add jq
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-01 19:52:33 +01:00
Dockerfile Add jq 2019-01-01 19:52:33 +01:00
LICENSE Fix licens and readme 2018-05-16 00:02:59 +02:00
README.md Fix licens and readme 2018-05-16 00:02:59 +02:00
start.sh Update to new downloader 2018-05-16 00:00:14 +02:00

Luzifer / rust-server

This repository contains a Docker setup for Linux Game Server Managers Rust management script.

How to use

  • Choose a directory which will be used to persist downloaded gameserver data, maps, player data, ... (Needs ~6GB disk-space)
    This README will use /data/rust as chosen directory. So replace that one with your choice in all commands.
  • Execute chown 1000:1000 /data/rust to enable the unprivileged user in the container to write into that directory
  • Do a first installation of the server: (This will require quite a time as it downloads a 5.8GB gameserver)
    docker run --rm -ti -v /data/rust:/home/rustserver --name rust luzifer/rust-server auto-install
  • Edit /data/rust/rustserver script and exchange RCON password and other configuration variables
  • Edit /data/rust/serverfiles/server/rust-server/cfg/server.cfg and set the description, image and URL of your server
  • Start your server:
    docker run -d -p 28015:28015/udp -p 28016:28016 \
              -v /data/rust:/home/rustserver --name rust \
              luzifer/rust-server start
    
  • To stop the server I recommend using the RCON console and the command quit. This will ensure the server has created a proper savegame.
  • To update the server stop it and afterwards execute the update:
    docker run --rm -ti -v /data/rust:/home/rustserver luzifer/rust-server update