Update README.md

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

View file

@ -7,7 +7,11 @@ 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 --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 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
``` ```
Examples config files see directory ```config``` Examples config files see directory ```config```