l4d2-docker/docker-compose.yml
Niklas c3494df3b5
All checks were successful
continuous-integration/drone/push Build is passing
fill server.cfg directly
2021-04-26 13:46:10 +02:00

19 lines
415 B
YAML

version: "3"
services:
l4d2:
build: .
environment:
- CVAR_HOSTNAME=My left 4 dead server
- CVAR_RCON_PASSWORD=password123
- CVAR_SV_ALLOW_LOBBY_CONNECT_ONLY=0
- CVAR_SV_CONSISTENCY=1
- CAVR_SV_VOICEENABLE=1
- CVAR_MP_DISABLE_AUTOKICK=1
volumes:
- ./motd.txt:/motd.txt:ro
- ./host:txt:/host.txt:ro
ports:
- 27015:27015
- 27015:27015/udp