Skip to main content

Dockhand on Ubuntu 24.04

Access Dockhand and set your own domain SSL and admin login

Teodor avatar
Written by Teodor
Updated over 3 weeks ago

Dockhand is already deployed on your Ubuntu 24.04 VPS inside Docker and it’s published through Nginx as a reverse proxy.

You can deploy the Docker preinstalled template from the LumaDock .

Access Dockhand

Your instance is available on the default hostname:

  • vm<id>.lmdk.cloud (example vm5678.lmdk.cloud)

Set your own domain and SSL certificate

For your own domain and certificate, you will need to modify ngx config located in /etc/nginx/sites-available.

Step 1 - Point your domain to the VPS

Create an A record for your domain (or subdomain) to the VPS public IP. Wait for DNS to propagate.


Step 2 - Edit the Nginx site config

Open the site file in /etc/nginx/sites-available/ and update:

  • server_name to your domain

  • ssl_certificate and ssl_certificate_key to your cert paths

server {
listen 443 ssl http2;

server_name dockhand.example.com;

ssl_certificate /etc/ssl/certs/dockhand.crt;
ssl_certificate_key /etc/ssl/private/dockhand.key;

location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

Step 3 - Enable the config and reload Nginx

Make sure the file name matches your VPS hostname or whatever naming you prefer. Then enable the site, test Nginx and reload.

ln -sf /etc/nginx/sites-available/<your-site>.conf /etc/nginx/sites-enabled/ && nginx -t && systemctl reload nginx

Step 4 - Check the certificate paths

If Nginx fails to reload, it’s almost always a typo in the file path or a certificate permission issue.

Double-check the certificate and key file locations and that the key file is readable by root.

Enable authentication in Dockhand

On first launch, authentication is disabled.


Step 1 - Open the Authentication settings

In Dockhand, go to Settings > Authentication.


Step 2 - Enable auth and create the first admin user

Enable authenication and create your first admin user. After that, sign out once and confirm you can log back in.

More info

For the full manual and advanced options, refer to Dockhand’s official documentation.

Did this answer your question?