Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.04 KB

File metadata and controls

29 lines (24 loc) · 1.04 KB

Simple Docker Compose example

This example contains a simple docker compose file for running the Rust server on your machine (MacOS, Windows, Linux).

It demonstrates the usage of a Docker Volume to persist the Rust server data.

Usage

Clone the repo and start the Rust server:

git clone https://github.com/max-pfeiffer/rust-game-server-docker.git
cd rust-game-server-docker/examples/docker-compose
docker compose up -d

Stop the server:

docker compose down

And show the logs, option -f follows the logs:

docker compose logs -f

Rust WebSocket RCON

When spinning up the containers with Docker compose, an instance of the Rust Websocket RCON client is started as well.

If you want to connect to Rust server console or want to check on the server statistics, just point your web browser to: http://localhost

Then enter the address of your server and the RCON password in the web interface.