Closed brielov closed 7 months ago
So for example I would like to run the server in versus mode only. The question would be how can I replicate something like docker run left4devops/l4d2 -port 27020 +map "c14m1_junkyard" +sv_lan 1 but in the docker compose file?
docker run left4devops/l4d2 -port 27020 +map "c14m1_junkyard" +sv_lan 1
Just pushed a new image. You can now set the game mode by setting the DEFAULT_MODE environment variable.
DEFAULT_MODE
if you still want to override the launch options, you can use command: in docker-compose.yml
command:
So for example I would like to run the server in versus mode only. The question would be how can I replicate something like
docker run left4devops/l4d2 -port 27020 +map "c14m1_junkyard" +sv_lan 1
but in the docker compose file?