Zandronum Server and Client Docker containers, TerraForm modules

General discussion of the port and Doom-related chat.
Post Reply
frozenfoxx
Registered just to make one post
Posts: 1
Joined: Sat Jul 18, 2020 2:07 am
Clan: Church of Foxx
Clan Tag: COF

Zandronum Server and Client Docker containers, TerraForm modules

#1

Post by frozenfoxx » Sat Jul 18, 2020 2:23 am

Hi there, thought you folks might be interested in some server code I wrote up.

Docker
Made a Docker container for the Zandronum server here: https://github.com/frozenfoxx/docker-zandronum-server. It's full-featured, allows you to specify CLI options, a base64-encoded INI file for configuration, and mount up arbitrary directories for loading game files. The Docker Hub is built automatically from the codebase on changes and is located here: https://hub.docker.com/r/frozenfoxx/zandronum-server/. Instructions in the README for getting it running but the super short is:
  • get a directory of WADs, PK3s, etc
  • install Docker
  • build a list of options with Doomseeker or set up a server config and base64 encode it
  • run the listed sample command
  • enjoy your own custom server
For fun awhile back I also made a Zandronum client here: https://github.com/frozenfoxx/docker-zandronum, Docker Hub here: https://hub.docker.com/r/frozenfoxx/zandronum/. Similar to the server, you need to supply your own WADs and PK3s for obvious reasons but then you can just connect to the host running it with your browser and play through that. No sound due to limitations in noVNC but you can deploy this in a Kubernetes cluster and it works just fine, for extra silliness. I've listed the adjusted keyboard commands since you can't stop the mouse from exiting the screen.

TerraForm
A Docker container's great, but I wanted to run a server long term. Since I couldn't find one I built a module to run it on Linode with the Docker server container, code is located here: https://github.com/frozenfoxx/terraform ... num-linode. If you'd like an example of how to use this module, here's my master TerraForm code that calls Linode, provisions an instance, uploads my data files, installs Docker, dumps the options and INI file to disk, installs a control script, and fires up the container with all appropriate options in one command: https://github.com/frozenfoxx/terraform ... /zandronum.

Anyway, hope you folks enjoy.

Post Reply