This document is still being written. Only for reading purpose...for now.

We will continue where we left off earlier.

export KAMAL_REGISTRY_PASSWORD=<your_docker_password_earlier>
kamal setup

If you're interested on what Kamal did behind the scene, check the official docs: Official Docs

While the command is still running, you can try to grasp what's happening, but ideally, it is:

  1. Building docker image for you, using your Dockerfile
  2. Uploading it to your Docker Hub we register earlier
  3. SSH-ing into our server, setup Docker if not installed
  4. Pull that image that was uploaded earlier, into the homelab server
  5. Spin up everything, including Kamal Proxy.

What now?

If there's no error with Kamal, you should see this. It's a music to the ears.

Result of ssh

(click image to enlarge)

If you are not seeing any error, let's quickly ssh into our homelab server to see if our docker images are up and running.

ssh [email protected]
sudo docker ps
Result of ssh

(click image to enlarge)

This mean everything is working fine!

I've also updated our diagram to reflect our new infrastructure.