It's been 3 weeks since I tried Daniel Nashed's implementation to the community container project to install SafeLinx in a container - including Nomad Web. That was pretty easy once you managed the certificate part.
Now with the latest drop 3 of Domino 12.0.2 HCL also released the first beta of Nomad which runs as a Domino add-on - without SafeLinx at all.
Installation couldn't be easier. It's just like you do when you want to add Domino Leap (fka Domino Volt) on your existing Domino server.
To start your tests you need at least a Domino server 12.0.1FP1 running on Linux or Windows. Just copy over the tar/zip to the binary folder of your server and unpack it there - done. The other prerequisites are: a working ID Vault and a valid SSL certificate.
Domino in a container
I guess it's just a question of hours until Daniel integrates this new Nomad flavour into the community project, too. Until then you have to install the Nomad files manually into your container. Be aware: if you edit or redeploy your container the Nomad integration will be lost. To prepare your existing container, please make sure that port 9443 is exposed along with the usual suspects like 1352, 80, 443 etc. depending of what services you already expose from the server. Since you have to restart the container (i.e. the server), it's the best time to also define the Nomad hostname in your notes.ini file. In a Domino console just type this command:
set config NOMAD_WEB_HOST=mynomad.example.com
Replace the hostname with your hostname of this machine.
Install Nomad manually to your container
Grab the tar file for your Domino server version. In my case the container is based on the image of 12.0.1 with FP1. Then it's just a matter of 2 commands in the terminal:
docker cp -a nomad-server-105-beta-domino-linux-1201.tgz <CONTAINER>:/opt/hcl/domino/notes/latest/linux
docker exec -it -u 0 <CONTAINER> tar xvf /opt/hcl/domino/notes/latest/linux/nomad-server-105-beta-domino-linux-1201.tgz --directory /opt/hcl/domino/notes/latest/linux
The first command copies the tar file over to the binary folder of the Domino server. The second just unpacks the tar file in that same folder.
Replace <CONTAINER>
with the actual name of your Domino container.
Now you can start Nomad with
load nomad
on the server console. You should see a few messages that confirm that Nomad is running now.
Testing Nomad
Open a browser and navigate to your host using https
and the port 9443. This is the default port where the Nomad task will listen. The browser will ask you to allow notifications for this website (allow that) and then you can login.
Have fun!