Hermes Workspace on Your Own VPS: Setup Guide
In this article
This guide walks you through setting up a Hermes workspace on your own VPS, giving you a self-hosted environment for managing your projects and tasks. You'll end up with a fully functional Hermes instance accessible via your domain, secured with HTTPS. Before starting, ensure you have a VPS with a public IP, a domain name pointing to it, and SSH access.
What You'll Need
- A VPS running Ubuntu 22.04 or 24.04 (other Linux distros work but steps may vary)
- A domain name (e.g., hermes.example.com) with an A record pointing to your VPS's IP
- SSH client (Terminal on macOS/Linux, PuTTY on Windows)
- Basic comfort with command line
Step-by-Step
- Connect to your VPS – SSH into your server as a user with sudo privileges. For example:
ssh user@your-server-ip. - Update system packages – Run
sudo apt update && sudo apt upgrade -yto ensure all existing software is current. - Install Docker and Docker Compose – Hermes is easiest to run in containers. Install Docker with
curl -fsSL https://get.docker.com | sh, then add your user to the docker group:sudo usermod -aG docker $USER. Log out and back in for changes to take effect. Verify withdocker --version. - Create a directory for Hermes – Run
mkdir ~/hermes && cd ~/hermesto keep everything organized. - Create a docker-compose.yml file – Use a text editor (nano or vim) to create
docker-compose.ymlwith the following content. Replaceyourdomain.comwith your actual domain.version: '3.8' services: hermes: image: hermesworkspace/hermes:latest container_name: hermes restart: unless-stopped ports: - "8080:8080" volumes: - ./data:/data environment: - HERMES_DOMAIN=yourdomain.com - HERMES_PORT=8080 - Start Hermes – Run
docker compose up -d. This pulls the image and starts the container. Check logs withdocker logs hermesto ensure it started correctly. - Install Nginx as a reverse proxy – Run
sudo apt install nginx -y. This will handle HTTPS and route traffic to Hermes. - Configure Nginx – Create a new site config:
sudo nano /etc/nginx/sites-available/hermes. Add the following, replacingyourdomain.com:server { listen 80; server_name yourdomain.com; location / { proxy_pass http://127.0.0.1:8080; 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; } }Enable the site withsudo ln -s /etc/nginx/sites-available/hermes /etc/nginx/sites-enabled/, test config withsudo nginx -t, then reload withsudo systemctl reload nginx. - Set up SSL with Let's Encrypt – Install Certbot:
sudo apt install certbot python3-certbot-nginx -y. Then runsudo certbot --nginx -d yourdomain.comand follow the prompts. This automatically configures HTTPS and renews certificates. - Access your Hermes workspace – Visit
https://yourdomain.comin your browser. You should see the Hermes login page. The default admin credentials are usually printed in the logs (rundocker logs hermesto find them). Change them immediately after first login. - Configure firewall (optional but recommended) – If you use UFW, allow SSH and HTTPS:
sudo ufw allow OpenSSH,sudo ufw allow 'Nginx Full', then enable withsudo ufw enable.
Common Mistakes
- Forgetting to point DNS – If you skip the A record, the domain won't resolve to your VPS, and you'll get a connection error.
- Port conflicts – If port 8080 is already in use, change the host port in docker-compose.yml (e.g., "8081:8080") and update Nginx accordingly.
- Not updating the domain in Nginx – Using the wrong server_name will cause Nginx to serve the default site instead of proxying to Hermes.
- SSL certificate failure – Certbot will fail if the domain doesn't point to your server or if port 80 is blocked. Ensure DNS and firewall are correct.
- Ignoring logs – If something doesn't work, check
docker logs hermesandsudo tail -f /var/log/nginx/error.logfor clues.
Tips
- Use a dedicated subdomain – Like
hermes.yourdomain.comto keep it separate from your main site. - Back up the data directory – The
./datafolder contains all your workspace data. Regularly copy it to a safe location. - Keep Docker images updated – Periodically run
docker compose pullanddocker compose up -dto get the latest version. - Set up automatic backups – Use a cron job to tar the data folder and upload to cloud storage or another server.
- Monitor resource usage – Hermes is lightweight, but if you run many projects, watch RAM and CPU with
htopordocker stats.
Troubleshooting
- Can't access the site – First check if Hermes is running:
docker ps. Then check Nginx:sudo systemctl status nginx. If both are fine, try accessing via IP:http://your-server-ip:8080– if that works, the problem is DNS or Nginx. - SSL certificate not renewing – Check that port 80 is open and Nginx is running. Certbot needs to verify your domain via HTTP. Run
sudo certbot renew --dry-runto test. - Hermes container keeps restarting – View logs:
docker logs hermes. Common issues include the data directory not writable or the domain environment variable set incorrectly. - 502 Bad Gateway from Nginx – This means Nginx can't reach Hermes. Ensure the proxy_pass port matches the host port in docker-compose. Also check that the container is listening:
curl http://127.0.0.1:8080from the server. - Forgot admin password – Reset it by stopping the container, removing the data volume (careful, this erases all data), and starting fresh. Alternatively, look for a reset command in the Hermes documentation.
Frequently Asked Questions
What is Hermes workspace?
Hermes is a self-hosted project management and collaboration tool. It lets you organize tasks, documents, and team communication on your own server, giving you full control over your data.
Do I need a domain name?
Technically no, you can access via IP, but for HTTPS and a professional setup, a domain is strongly recommended. Certbot requires a domain to issue SSL certificates.
Can I run Hermes on a Raspberry Pi?
Yes, as long as the Pi runs a 64-bit OS and Docker is installed. Performance may be limited for heavy usage, but it works for personal or small team use.
How do I update Hermes?
Navigate to your hermes directory and run docker compose pull followed by docker compose up -d. This will fetch the latest image and recreate the container without losing data.
Is Hermes free?
Yes, Hermes is open-source and free to self-host. You only pay for your VPS and domain.
What if I want to use a different port?
Change the host port in docker-compose.yml (e.g., "9090:8080") and update the Nginx proxy_pass to http://127.0.0.1:9090. Then restart the services.