„README.md“ ändern

This commit is contained in:
2021-12-14 13:27:34 +01:00
parent e4d5e48dd0
commit a1b56154be

View File

@@ -1,14 +1,16 @@
# 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 America's Army: Proving Grounds and run it.
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 | The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '203300 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install). | 203300 |
| GAME_NAME | SRCDS gamename | cstrike | | SRV_NAME | The server name | Army Docker |
| GAME_PARAMS | Values to start the server | -secure +maxplayers 32 +map de_dust2 | | GAME_PARAMS | Values to start the server | -port=7778 -SAP=8778 -SQP=27015 -aauregion=1 -log=Server.log |
| 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 | 27015 |
@@ -16,30 +18,22 @@ This Docker will download and install SteamCMD. It will also install Counter-Str
| USERNAME | Leave blank for anonymous login | blank | | USERNAME | Leave blank for anonymous login | blank |
| PASSWRD | Leave blank for anonymous login | blank | | PASSWRD | Leave blank for anonymous login | blank |
***ATTENTION: You have to disable Steam Guard for games that require authentication, Steam recommends to create a seperate account for dedicated servers***
>**NOTE** GAME_ID values can be found [here](https://developer.valvesoftware.com/wiki/Dedicated_Servers_List)
> And for GAME_NAME there is no list, so a quick search should give you the result
## Run example ## Run example
``` ```
docker run --name CSSource -d \ docker run --name AmericasArmy-PG -d \
-p 27015:27015 -p 27015:27015/udp \ -p 7778:7778/udp -p 8778:8778/udp -p 27015:27015/udp \
--env 'GAME_ID=232330' \ --env 'GAME_ID=203300' \
--env 'GAME_NAME=cstrike' \ --env 'SRV_NAME=Army Docker' \
--env 'GAME_PORT=27015' \ --env 'GAME_PARAMS=-port=7778 -SAP=8778 -SQP=27015 -aauregion=1 -log=Server.log' \
--env 'GAME_PARAMS=-secure +maxplayers 32 +map de_dust2' \
--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/americasarmy-pg:/serverdata/serverfiles \
ich777/steamcmd:latest ich777/steamcmd:aaprovinggrounds
``` ```
>**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!
This Docker is forked from mattieserver, thank you for this wonderfull Docker. This Docker is forked from mattieserver, thank you for this wonderfull Docker.
### Support Thread: https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/