Updated sample docker compose file and clarified readme
This commit is contained in:
parent
a0b1c5e1c6
commit
f4104eedab
2 changed files with 20 additions and 19 deletions
|
@ -23,9 +23,10 @@ $ chmod 777 $(pwd)/cs2-data # Makes sure the directory is writeable by the unpri
|
|||
$ docker run -d --net=host -v $(pwd)/cs2-data:/home/steam/cs2-dedicated/ --name=cs2-dedicated -e STEAMUSER={YOUR_STEAM_USER} -e STEAMPASS={YOUR_STEAM_PASSWD} joedwards32/cs2
|
||||
```
|
||||
|
||||
or using docker-compose:
|
||||
or using docker-compose, see [examples](https://github.com/joedwards32/CS2/blob/main/examples/docker-compose.yml):
|
||||
```console
|
||||
$ docker-compose up -d
|
||||
# Remember to update passwords in your compose file
|
||||
$ docker compose --file examples/docker-compose.yml up -d cs2-server
|
||||
```
|
||||
|
||||
Remember about having at least **40GB** of free disk space!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue