---
title: "Deploy Huginn agent automation"
description: "Huginn web, delayed-job worker and PostgreSQL for self-hosted agents"
category: "Automation"
url: https://railway.com/deploy/huginn-agent-automation
---

# Deploy Huginn agent automation

Huginn web, delayed-job worker and PostgreSQL for self-hosted agents

**[Deploy Huginn agent automation on Railway](https://railway.com/template/huginn-agent-automation)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/huginn-agent-automation/manifest.json

- **Creator:** Anton Orel's Projects
- **Category:** Automation
- **Total deploys:** 1

## Template content

### PostgreSQL

- **Image:** postgres:18.7-alpine@sha256:ff64c9e3bdf8e2120107d3559de8db314e8305f7e38c5105903c6295876738ff

### Huginn

- **Image:** ghcr.io/huginn/huginn-single-process:v2026.11.19@sha256:11aa6a67d1e89eda706c9224f6e307113665dac5b4381076dec9d0c9ed4a075d
- **Public domain:** Yes

### Huginn Worker

- **Image:** ghcr.io/huginn/huginn-single-process:v2026.11.19@sha256:11aa6a67d1e89eda706c9224f6e307113665dac5b4381076dec9d0c9ed4a075d

## Documentation

# Deploy and Host Huginn agent automation

Huginn lets you build agents that watch websites, RSS feeds, APIs and webhooks, then filter, combine and act on what they find: send digests, post to other services, or trigger other agents. This template runs the Rails web app, a separate background worker and PostgreSQL, with a generated administrator and sign-up invitation code.

## About Hosting Huginn agent automation

The template deploys the official Huginn `v2026.11.19` image as two services: the public web app, which migrates the database and creates the first administrator, and a private worker that runs the scheduler and delayed-job queue where agents actually execute. PostgreSQL 18 stores users, agents, events and jobs on a 5,000 MB volume. Rails forces HTTPS, and every agent HTTP request goes through Huginn's bundled Smokescreen egress proxy, so agents can reach the internet but not services on the Railway private network.

## Why Deploy Huginn agent automation on Railway

Huginn needs an always-on worker, a database and a public HTTPS address for webhooks and feeds. Railway provides all three, with generated secrets and private networking, so agents keep running on schedule and webhook URLs keep working after redeploys.

## Common Use Cases

- Watch web pages, feeds or APIs and get a digest or alert when something changes.
- Receive webhooks, transform the payload and forward it to other services.
- Publish RSS or JSON feeds built from sites that do not offer one.

## Dependencies for Huginn agent automation Hosting

- Outbound internet access for the sites and APIs your agents use, and for the startup gem install.
- Optional SMTP, OAuth or API credentials for agents that send email or use third-party services.

### Deployment Dependencies

- [Huginn](https://github.com/huginn/huginn)
- [PostgreSQL](https://www.postgresql.org)
- [Smokescreen](https://github.com/stripe/smokescreen)


## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/huginn-agent-automation
