l4d2-docker/docker-compose.yml

19 lines
415 B
YAML
Raw Normal View History

2021-04-12 13:54:25 +00:00
version: "3"
services:
l4d2:
build: .
environment:
- CVAR_HOSTNAME=My left 4 dead server
- CVAR_RCON_PASSWORD=password123
2021-04-26 11:46:10 +00:00
- CVAR_SV_ALLOW_LOBBY_CONNECT_ONLY=0
- CVAR_SV_CONSISTENCY=1
- CAVR_SV_VOICEENABLE=1
2021-04-12 13:54:25 +00:00
- CVAR_MP_DISABLE_AUTOKICK=1
2021-04-26 11:46:10 +00:00
volumes:
2021-04-18 13:25:45 +00:00
- ./motd.txt:/motd.txt:ro
- ./host:txt:/host.txt:ro
2021-04-12 13:57:41 +00:00
ports:
- 27015:27015
- 27015:27015/udp