Update README.md

Run command was actually incorrect and needed updating.
This commit is contained in:
Skylar Sadlier 2019-09-24 19:51:55 -06:00 committed by GitHub
parent 8ec552da7d
commit 26f0dbb19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,16 +13,16 @@ Running the container
Running the container is super easy. Just run this command:
```
docker run --name skylord123/svencoop-server -d \
-p 27015:27015 -p 27015:27015/udp \
--env 'GAME_PORT=27015' \
--env 'GAME_PARAMS=+maxplayers 12 +map osprey +log on -num_edicts 8192' \
--env 'VALIDATE=true'
--env 'UID=99' \
--env 'GID=100' \
--volume /mnt/user/appdata/steamcmd:/serverdata/steamcmd \
--volume /mnt/user/appdata/svencoop:/serverdata/serverfiles \
skylord123/svencoop-server:latest
docker run --name svencoop-server -d \
-p 27015:27015 -p 27015:27015/udp \
--env 'GAME_PORT=27015' \
--env 'GAME_PARAMS=+maxplayers 12 +map osprey +log on -num_edicts 8192' \
--env 'VALIDATE=true'
--env 'UID=99' \
--env 'GID=100' \
--volume /mnt/user/appdata/steamcmd:/serverdata/steamcmd \
--volume /mnt/user/appdata/svencoop:/serverdata/serverfiles \
skylord123/svencoop-server:latest
```
This command will store steamcmd and serverfiles folders inside `/mnt/user/appdata` so if you want them stored elsewhere on the host make sure you change this (this was developed on Unraid which uses these paths).