„README.md“ ändern

This commit is contained in:
2022-02-03 15:45:22 +01:00
parent 5a19e6c216
commit 1edf63f5fd

View File

@@ -1,39 +1,43 @@
# SteamCMD in Docker optimized for Unraid # SteamCMD in Docker optimized for Unraid
This Docker will download and install SteamCMD. It will also install Counter-Strike: Source and run it. Update Notice: Simply restart the container if a newer version of the game is available. This Docker will download and install SteamCMD. It will also install ArmA III and Exile Mod and run it.
**Install Note:** You must provide a valid Steam username and password with Steam Guard disabled (the user MUST have to have the game in the library, otherwise the download from Exile Mod will fail!).
**Update Notice:** Simply restart the container if a newer version of the game is available.
## Env params ## Env params
| Name | Value | Example | | Name | Value | Example |
| --- | --- | --- | | --- | --- | --- |
| STEAMCMD_DIR | Folder for SteamCMD | /serverdata/steamcmd | | STEAMCMD_DIR | Folder for SteamCMD | /serverdata/steamcmd |
| SERVER_DIR | Folder for gamefile | /serverdata/serverfiles | | SERVER_DIR | Folder for gamefile | /serverdata/serverfiles |
| GAME_ID | SteamID for server | 232330 | | GAME_ID | SteamID for server | 233780 |
| GAME_NAME | SRCDS gamename | cstrike | | GAME_PARAMS | Values to start the server | -config=server.cfg -mod= |
| GAME_PARAMS | Values to start the server | -secure +maxplayers 32 +map de_dust2 |
| UID | User Identifier | 99 | | UID | User Identifier | 99 |
| GID | Group Identifier | 100 | | GID | Group Identifier | 100 |
| GAME_PORT | Port the server will be running on | 27015 | | GAME_PORT | Port the server will be running on | 2302 |
| VALIDATE | Validates the game data | true | | MARIA_DB_ROOT_PWD | Enter the preffered root password of the database. | ExileMod |
| WORKSHOP_MAN_INST | Please set to 'true' (without quotes) if you want to install the Workshopcontent for ExileMod manually since the account you specified above must have a valid game purchase for ArmA3 (you could also use one account to download the dedicated server files and another to install the Workshop files). A COMPLETE HOW TO WILL BE IN THE CONSOLE WARNING: Please let this variable set to 'true' if you initially set it to 'true'. | blank |
>**NOTE** GAME_ID values can be found [here](https://developer.valvesoftware.com/wiki/Dedicated_Servers_List) | VALIDATE | Validates the game data | blank |
| USERNAME | Leave blank for anonymous login | YOURSTEAMUSER |
> And for GAME_NAME there is no list, so a quick search should give you the result | PASSWRD | Leave blank for anonymous login | YOURSTEAMPASSWORD |
## Run example ## Run example
``` ```
docker run --name CSSource -d \ docker run --name ArmA3ExileMod -d \
-p 27015:27015 -p 27015:27015/udp \ -p 2302:2302 -p 2302-2306:2302-2306/udp \
--env 'GAME_ID=232330' \ --env 'GAME_ID=233780' \
--env 'GAME_NAME=cstrike' \ --env 'GAME_PORT=2302' \
--env 'GAME_PORT=27015' \ --env 'GAME_PARAMS=-config=server.cfg -mod=' \
--env 'GAME_PARAMS=-secure +maxplayers 32 +map de_dust2' \ --env 'USERNAME=YOURSTEAMUSER' \
--env 'PASSWRD=YOURSTEAMPASSWORD' \
--env 'MARIA_DB_ROOT_PWD=ExileMod' \
--env 'UID=99' \ --env 'UID=99' \
--env 'GID=100' \ --env 'GID=100' \
--volume /mnt/user/appdata/steamcmd:/serverdata/steamcmd \ --volume /path/to/steamcmd:/serverdata/steamcmd \
--volume /mnt/user/appdata/cstrikesource:/serverdata/serverfiles \ --volume /path/to/arma3exilemod/gamefiles:/serverdata/serverfiles \
ich777/steamcmd:latest --volume /path/to/arma3exilemod/profiles:/serverdata/.local/share \
ich777/steamcmd:arma3exilemod
``` ```
>**NOTE** port 26900 is the port for vac, in case of multiple servers make sure these are not the same
This Docker was mainly edited for better use with Unraid, if you don't use Unraid you should definitely try it! This Docker was mainly edited for better use with Unraid, if you don't use Unraid you should definitely try it!