l4d2-docker/README.md

25 lines
944 B
Markdown
Raw Normal View History

2021-11-16 15:55:36 +00:00
Left 4 dead 2 server. With Metamod and Sourcemod.
2021-04-12 13:54:25 +00:00
2021-11-16 20:05:27 +00:00
[Github](https://github.com/Djeeberjr/l4d2-docker)
2021-04-12 13:54:25 +00:00
# Ports
- 27015
- 27015/udp
2021-11-01 14:53:00 +00:00
# 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.
2021-04-12 13:54:25 +00:00
# Configuration
2021-11-01 14:53:00 +00:00
You can set ANY conVar you want simply by prefixing the enviroment with `CVAR_`.
2021-04-12 13:54:25 +00:00
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).
2021-11-16 15:55:36 +00:00
2021-11-16 20:05:27 +00:00
Add your steam ids to `SM_ADMIN` to be added as a sourcemod admin.
2021-11-16 15:55:36 +00:00
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.