Update README.md

This commit is contained in:
Andrew Marchukov 2018-12-18 23:16:15 +04:00 committed by GitHub
parent 67a08d3370
commit 69cc5d0984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,8 @@
![](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/blob/master/docker-logo.jpg) ![](https://github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/blob/master/docker-logo.jpg)
## How to build ## How to build
cd directory where ```Dockerfile``` cd directory where ```Dockerfile```
``` ```docker build -t sandstorm:latest .```
docker build -t sandstorm:latest . 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:
``` ```
@ -13,7 +12,6 @@ docker run -d --net=host -e HOSTNAME="MY SERVER" -e PORT=1111 -e QUERYPORT=2222
--volume mydirectory/ini/Engine.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Engine.ini:ro \ --volume mydirectory/ini/Engine.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Engine.ini:ro \
sandstorm:latest 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://docs.google.com/document/d/1GDLg5p9jjeIya7EgBk0ibzDtDlyQ-U_jpspOzby-JmM)