l4d2-docker/docker-compose.yml

29 lines
633 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
2021-11-14 23:02:04 +00:00
- CVAR_SV_CONSISTENCY=0
2021-04-26 11:46:10 +00:00
- CAVR_SV_VOICEENABLE=1
2021-04-12 13:54:25 +00:00
- CVAR_MP_DISABLE_AUTOKICK=1
2021-11-14 23:02:04 +00:00
- INSECURE=true
2021-11-01 14:53:00 +00:00
- "MOTD_FILE_CONTENT=Put your MODT here. \n
Multiline is also supported."
- "HOST_FILE_CONTENT=Same with the host file \n
lalalalal"
2021-04-12 13:57:41 +00:00
ports:
- 27015:27015
- 27015:27015/udp
2021-11-01 14:53:00 +00:00
volumes:
- l4d2_game:/home/steam/server
stdin_open: true
tty: true
volumes:
l4d2_game:
name: l4d2_game