From f49c05f770736a233f00858e1a97ba9c1e9def37 Mon Sep 17 00:00:00 2001 From: Andrew Marchukov Date: Thu, 22 Apr 2021 21:59:13 +0300 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 8898a7f..ca119b8 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,27 @@ Examples config files see directory ```config``` ### Official documentation: [Server Admin Guide](https://sandstorm-support.newworldinteractive.com/hc/en-us/articles/360049211072-Server-Admin-Guide) #### Source in github: [Insurgency: Sandstorm docker server](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize) + + +### docker-compose.yml example +```dockerfile +version: '3.7' +services: + insurgency-sandstorm: + image: andrewmhub/insurgency-sandstorm:latest + container_name: insurgency-sandstorm + restart: unless-stopped + environment: + HOSTNAME=[ISMC] MOD MAPS ONLY @120hz + PORT=12345 + QUERYPORT=54321 + LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods ModList=Mods.txt -mutators=ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage,FpLegs,JumpShoot -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security + + volumes: + - /home/user/coop-modmap/config/ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer:ro + - /home/user/coop-modmap/config/txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server:ro + - /home/user/coop-modmap/Mods:/home/steam/steamcmd/sandstorm/Insurgency/Mods:rw + ports: + - "${PORT}:${PORT}" + - "${QUERYPORT}:${QUERYPORT}" +```