Update README.md

This commit is contained in:
Andrew Marchukov 2021-04-18 10:32:12 +03:00 committed by GitHub
parent 714d31fdab
commit 458e1ef8a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,12 +7,9 @@ or take image ```docker pull andrewmhub/sandstorm```
## How to launch ## How to launch
Running multiple instances (use PORT, QUERYPORT and HOSTNAME) if need other(custom) settings file use --volume: Running multiple instances (use PORT, QUERYPORT and HOSTNAME) if need other(custom) settings file use --volume:
``` ```
docker run -d --net=host -e HOSTNAME="MY SERVER" -e PORT=1111 -e QUERYPORT=2222 \ docker run -d --restart always --env-file /home/user/coop-modmap/modmap.env --name sandstorm-modmap -p 12345:12345/udp -p 54321:54321/udp -v /home/user/coop-modmap/Mods:/home/steam/steamcmd/sandstorm/Insurgency/Mods:rw -v /home/user/coop-modmap/config/ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer:ro -v /home/user/coop-modmap/config/txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server:ro sandstorm:latest
--name=sandstorm-dedicated \
--volume mydirectory/ini/Engine.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Engine.ini:ro \
sandstorm:latest
``` ```
Examples config files see directory ```config``` Examples config files see directory ```config```
### Official documentation: [Server Admin Guide](https://docs.google.com/document/d/1GDLg5p9jjeIya7EgBk0ibzDtDlyQ-U_jpspOzby-JmM) ### 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) #### Source in github: [Insurgency: Sandstorm docker server](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize)