Skip to content

Instantly share code, notes, and snippets.

@josepjaume
Created August 19, 2016 13:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josepjaume/31c05e25609c41a6b71d48ddae9a2850 to your computer and use it in GitHub Desktop.
Save josepjaume/31c05e25609c41a6b71d48ddae9a2850 to your computer and use it in GitHub Desktop.
Docker Compose for Rust
rust-server:
image: didstopia/rust-server
restart: always
mem_limit: 15g
ports:
- "28015:28015"
- "28015:28015/udp"
- "28016:28016"
- "80:8080"
volumes:
- "/rust:/steamcmd/rust"
environment:
- "RUST_SERVER_STARTUP_ARGUMENTS=-batchmode -load -logfile /dev/stdout +server.secure 1 +server.maxplayers 50"
- "RUST_SERVER_IDENTITY=codegram"
- "RUST_SERVER_SEED=1209483093"
- "RUST_SERVER_NAME=Code Hard Party Harder"
- "RUST_SERVER_DESCRIPTION=We won't necessarily keep this server up forever. Use at your own expense."
- "RUST_RCON_PASSWORD=rustmotherfucker"
- "RUST_UPDATE_CHECKING=1"
- "RUST_SERVER_URL=rust.codegram.com"
- "RUST_OXIDE_ENABLED=1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment