l4d2-docker/README.md
2021-11-16 21:05:27 +01:00

25 lines
944 B
Markdown

Left 4 dead 2 server. With Metamod and Sourcemod.
[Github](https://github.com/Djeeberjr/l4d2-docker)
# Ports
- 27015
- 27015/udp
# Volumes
You can create a volume at `/home/steam/server` to not redownload the game every time you make a change at the docker-compose file.
# Configuration
You can set ANY conVar you want simply by prefixing the enviroment with `CVAR_`.
So for example to set the RCON password set the enviroment variable `CVAR_RCON_PASSWORD=password123`.
Try to avoid variables with the word `CVAR_` and avoid `=` in it.
A list of available cvars can be found [here](https://developer.valvesoftware.com/wiki/List_of_L4D2_Cvars).
Add your steam ids to `SM_ADMIN` to be added as a sourcemod admin.
If there is a new version of Metamod or Sourcemod and is not yet set in the image you can manually set the download URL in `METAMOD_DL_URL` and `SOURCEMOD_DL_URL`.
It will only get update if the addon directory is empty.