mirror of
https://github.com/skylord123/docker-svencoop-server.git
synced 2025-05-20 11:42:53 -06:00
Update README.md
Run command was actually incorrect and needed updating.
This commit is contained in:
parent
8ec552da7d
commit
26f0dbb19f
20
README.md
20
README.md
@ -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).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user