---
title: "Deploy Huginn"
description: "[2026-11-04] Deploys fixed and verified. Agents that act for you."
category: "Automation"
url: https://railway.com/deploy/YeKqIX
---

# Deploy Huginn

[2026-11-04] Deploys fixed and verified. Agents that act for you.

**[Deploy Huginn on Railway](https://railway.com/template/YeKqIX)**

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

- **Creator:** beuz's Projects
- **Category:** Automation
- **Total deploys:** 67

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### huginn-railway

- **Source:** https://github.com/leonardochappuis/huginn-railway
- **Public domain:** Yes

## Documentation

# Deploy and Host Huginn on Railway

Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.

## About Hosting Huginn

This template instantiates a Huginn instance and connects it with a postgres db.
Initial credentials are admin:password
You can leave all env variables as is.

## Common Use Cases

- Watch websites, feeds and APIs for changes and get notified
- Automation chains like a self-hosted IFTTT / Zapier
- Scrape, transform and forward data between services on a schedule

## Dependencies for Huginn Hosting

- A Postgres database (deployed by this template)

### Deployment Dependencies

- [Huginn repo and docs](https://github.com/huginn/huginn)
- [Template source repo](https://github.com/leonardochappuis/huginn-railway)

## Why Deploy Huginn on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Huginn on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Update 2026-10-27
- Fixed broken deploys: the template had lost its Postgres linking variables.
- Current Huginn images decide whether to start their bundled MySQL before reading HUGINN_* vars; the template now sets DATABASE_ADAPTER=postgresql and START_MYSQL=false explicitly.
- Rails 8.1 refuses an empty DATABASE_URL; it is now wired to the Postgres service.
- Postgres pinned to 17.

## Update 2026-11-04
- Verified end to end: a fresh deploy of this template on Railway builds, boots and serves. The health number is a trailing 90-day window, so it recovers as pre-fix deploys age out.

## 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/YeKqIX
