# Doom Server (Crispy Doom) ## Usage ```text docker run --rm -it \ -e DOOM_SERVER_NAME=doom.yourdomain.com \ -p 2342:2342/udp \ jerryaldrichiii/doom-server-crispy:latest ``` ## Environment Variables ### `DOOM_SERVER_PORT` The UDP port for the server to listen on. ### `DOOM_SERVER_PUBLIC` If set to `true`, then it will register the server with [master.chocolate-doom.org](https://master.chocolate-doom.org) ### `DOOM_SERVER_NAME` If `DOOM_SERVER_PUBLIC="true"` then the value of this variable will be used for the server name on [master.chocolate-doom.org](https://master.chocolate-doom.org). ## Connecting First, download [Crispy Doom](http://latest.chocolate-doom.org/) Then, if you are the first player (the host), connect using the following: ``` crispy-doom -iwad ~/path/to/your/IWAD -connect DOCKER_HOST_IP -deathmatch -nomonsters ``` Or, if you are joining a game, connect using the following: ``` crispy-doom -iwad ~/path/to/same/IWAD/as/host -connect DOCKER_HOST_IP ``` ### NOTES Some things to keep in mind about using this server: - The first person connecting "configures" the server (e.g. `-nomonsters`, `-iwad`, etc) - All players must end their game for another player to join - There is a max of 8 players ## More Info See: [https://www.chocolate-doom.org/wiki/index.php/Multiplayer](https://www.chocolate-doom.org/wiki/index.php/Multiplayer)