Back to all templates
Huginn logo

Huginn

Application512MB+ RAM

Build agents that monitor and act on your behalf

automationagentsmonitoringifttt-alternative

Deploy Huginn in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Huginn

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
DIY Deployment

Self-Host Huginn with Docker

Take the DIY route and deploy Huginn on your own server using Docker.

1

Connect to Your VPS via SSH

Fire up your terminal application and establish a connection to your remote server.

terminal
# Access your VPS
ssh root@YOUR_SERVER_IP

# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IP

First time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh

2

Initialize Project Folder

Create a folder to house your Docker Compose configuration.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/huginn
cd ~/apps/huginn
3

Create Docker Configuration

Define your services in a docker-compose.yml file:

docker-compose.yml
services:
  huginn:
    image: huginn/huginn:latest
    ports:
      - "3000:3000"
    environment:
      - MYSQL_PORT_3306_TCP_ADDR=db
      - HUGINN_DATABASE_NAME=huginn
      - HUGINN_DATABASE_USERNAME=huginn
      - HUGINN_DATABASE_PASSWORD=<your-db-password>
      - APP_SECRET_TOKEN=<your-secret-token>
      - INVITATION_CODE=<your-invitation-code>
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy

  db:
    image: mysql:8.0
    environment:
      - MYSQL_ROOT_PASSWORD=<your-db-root-password>
      - MYSQL_DATABASE=huginn
      - MYSQL_USER=huginn
      - MYSQL_PASSWORD=<your-db-password>
    volumes:
      - mysql_data:/var/lib/mysql
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -p$$MYSQL_ROOT_PASSWORD || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s

volumes:
  mysql_data:
Configurable Options
PORTHost port(default: 3000)
SECRET_TOKENSecret token
INVITATION_CODEInvitation code
DB_PASSWORDDB password
DB_ROOT_PASSWORDRoot password
4

Execute the Deployment

Start your containers and verify they're running correctly.

terminal
# Launch the stack
docker compose up -d

# Verify container status
docker compose ps

# Follow the logs
docker compose logs --follow
5

Allow Network Access

Update UFW rules to allow traffic on the application port.

terminal
# Allow the application port through firewall
sudo ufw allow 3000/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:3000
Skip the Terminal

Don't want to type commands? We've got you.

Forget SSH and YAML files. Deploy Huginn visually with Server Compass in just a few clicks.

  • No terminal required
  • Point-and-click setup
  • Auto SSL certificates
  • Rolling deployments
  • Health monitoring
  • Instant rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Huginn with Server Compass, complete these steps to finish setup

1

Log in and change password

2

Create agents to automate tasks

Need help? Check out our documentation for detailed guides.

Huginn FAQ

Common questions about self-hosting Huginn

How do I deploy Huginn with Server Compass?

Simply download Server Compass, connect to your VPS, and select Huginn from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Huginn?

Huginn requires a minimum of 512MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Huginn data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Huginn backup and restore procedures.

How do I update Huginn to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Huginn image will be pulled and deployed with zero downtime.

Is Huginn free to self-host?

Huginn is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Huginn?

Download Server Compass and deploy Huginn to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass