From Bellman
Jump to navigation Jump to search


Currently everything is running in a virtual machine called Hub. This was the way to go a few years ago, now I have just the one VM running there so it's just as much work as running a separate server.

I am considering what it would take to use Docker containers instead. The big advantage for me would be that Dockers are very portable, I can copy them and run them anywhere. The only thing tying me to one machine is the mapping between DNS and a fixed IP address. (Which is true with the virtual machine.)

I chose to try QEMU/KVM to support the virtual machines on Dart and I want to get rid of that, it's the only place I ended up using it. I want to use VirtualBox when I need VM's, it's better. So even if I don't use Docker I want to get rid of QEMU.


Moved to to support mailing list volume and dragged HuPI over at the same time.

Moved back to my own server at CDS to save money.

Dockerization =

Services required

  • Web service
  • Email
  • Mailman

Web service

Strictly plain vanilla HTTP server. Needs CGI support for Mailman.

Starting with Dockerizing the simple hupi wen site, then decide what direction to go with mailman... should probably be a separate docker

Theo would be able to access the storage area by connecting to Dart, and he already has credentials to do that. It should look no different.

Currently it's running on nginx as a virtual host. The router Aurora points incoming traffic at the IP It does this on a port by port basis.

server {
        listen default_server;

        root /var/www/;
        index index.htm index.html;

        location / {
        # First attempt to serve request as file, then
        # as directory, then fall back to displaying a 404.
             try_files $uri $uri/ =404;


Using postfix as the MTA.

Mailing lists

The only list left is "vph", I shut all the others down over a year ago.

It should still be possible to connect to the postfix/mailman container via exec to run mailman commands, in fact you could run the commands directly (no shell.) I should be able to make aliases for that.


docker pull macropin/mailman

I can direct traffic from the router to any particular port so I can run SMTP on port 2525 and send port 25 traffic to it.

docker run --rm -ti --name mailman \
 -p 2525:25 -p 8025:80 \
 -e \
 -e \
 -e \
 -e MAILMAN_ADMINPASS=yersecretpassword \

You should be able to connect to the 2 services, HTTP and SMTP.

telnet localhost 8025
telnet localhost 2525