Merge pull request #59 from joedwards32/58-auth-is-not-required-anymore
Switch to anonymous logins
This commit is contained in:
commit
8c540a4668
4 changed files with 1 additions and 20 deletions
12
README.md
12
README.md
|
@ -31,10 +31,6 @@ $ docker compose --file examples/docker-compose.yml up -d cs2-server
|
||||||
|
|
||||||
You must have at least **40GB** of free disk space! See [System Requirements](./#system-requirements).
|
You must have at least **40GB** of free disk space! See [System Requirements](./#system-requirements).
|
||||||
|
|
||||||
`STEAMUSER` and `STEAMPASS` **are required as unlike CS:GO, CS2 can not be downloaded anonymously (at time of writing).**
|
|
||||||
|
|
||||||
`STEAMGUARD` **must be used to provide your more recent Steam Guard key if Steam Guard is enabled on your account.**
|
|
||||||
|
|
||||||
**The container will automatically update the game on startup, so if there is a game update just restart the container.**
|
**The container will automatically update the game on startup, so if there is a game update just restart the container.**
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
@ -50,14 +46,6 @@ Minimum system requirements are:
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
Feel free to overwrite these environment variables, using -e (--env):
|
Feel free to overwrite these environment variables, using -e (--env):
|
||||||
|
|
||||||
### SteamCMD
|
|
||||||
|
|
||||||
```dockerfile
|
|
||||||
STEAMUSER="changeme" (Steam User for SteamCMD.)
|
|
||||||
STEAMPASS="changeme" (Password for Steam User.)
|
|
||||||
STEAMGUARD="" (Optional, Steam Guard key if enabled. Use your most recent Steam Guard key.)
|
|
||||||
```
|
|
||||||
|
|
||||||
### Server Configuration
|
### Server Configuration
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
|
|
|
@ -8,9 +8,6 @@ FROM cm2network/steamcmd:root as build_stage
|
||||||
|
|
||||||
LABEL maintainer="joedwards32@gmail.com"
|
LABEL maintainer="joedwards32@gmail.com"
|
||||||
|
|
||||||
ENV STEAMUSER "changeme"
|
|
||||||
ENV STEAMPASS "changeme"
|
|
||||||
ENV STEAMGUARD ""
|
|
||||||
ENV STEAMAPPID 730
|
ENV STEAMAPPID 730
|
||||||
ENV STEAMAPP cs2
|
ENV STEAMAPP cs2
|
||||||
ENV STEAMAPPDIR "${HOMEDIR}/${STEAMAPP}-dedicated"
|
ENV STEAMAPPDIR "${HOMEDIR}/${STEAMAPP}-dedicated"
|
||||||
|
|
|
@ -6,7 +6,7 @@ mkdir -p "${STEAMAPPDIR}" || true
|
||||||
# Download Updates
|
# Download Updates
|
||||||
|
|
||||||
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
|
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
|
||||||
+login "${STEAMUSER}" "${STEAMPASS}" "${STEAMGUARD}" \
|
+login anonymous \
|
||||||
+app_update "${STEAMAPPID}" \
|
+app_update "${STEAMAPPID}" \
|
||||||
+quit
|
+quit
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,6 @@ services:
|
||||||
image: joedwards32/cs2
|
image: joedwards32/cs2
|
||||||
container_name: cs2-dedicated
|
container_name: cs2-dedicated
|
||||||
environment:
|
environment:
|
||||||
# SteamCMD
|
|
||||||
- STEAMUSER=changeme # (Steam User for SteamCMD.)
|
|
||||||
- STEAMPASS=changeme # (Password for Steam User.)
|
|
||||||
- STEAMGUARD # (Optional, Steam Guard key if enabled. Use your most recent Steam Guard key.)
|
|
||||||
# Server configuration
|
# Server configuration
|
||||||
- CS2_SERVERNAME=changeme # (Set the visible name for your private server)
|
- CS2_SERVERNAME=changeme # (Set the visible name for your private server)
|
||||||
- CS2_IP=0.0.0.0 # (CS2 server listening IP address, 0.0.0.0 - all IP addresses on the local machine, empty - IP identified automatically)
|
- CS2_IP=0.0.0.0 # (CS2 server listening IP address, 0.0.0.0 - all IP addresses on the local machine, empty - IP identified automatically)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue