Railway

Deploy dagu

Deploy and Host dagu with Railway

Deploy dagu

Just deployed

/data/dagu

Deploy and Host Dagu on Railway

About Hosting

Dagu is a self-contained workflow engine written in Go with an embedded TypeScript/React Web UI. It uses file-based storage (no external database required) and runs as a single binary via dagu start-all, which launches the web server, scheduler, and coordinator together. The Docker image is ghcr.io/dagu-org/dagu:latest from GHCR.

Why Deploy

  • Zero-Ops: Single binary, under 128MB memory footprint, no PostgreSQL/Redis/message broker needed
  • Full-Power Orchestration: 19+ built-in executors including Docker, SSH, HTTP, SQL, S3, and more
  • AI-Native: Built-in LLM agent for creating, editing, and debugging workflows from natural language
  • Web UI: Rich dashboard with DAG visualization, log viewer, and workflow management
  • Air-Gapped Ready: Runs in isolated environments without external dependencies
  • Persistent Storage: Railway volume ensures DAG definitions and run history survive redeployments

Common Use Cases

  • Scheduling and orchestrating ETL/data pipelines with YAML-defined DAGs
  • Automating DevOps tasks like deployments, backups, and monitoring checks
  • Running periodic batch jobs (report generation, data sync, cleanup scripts)
  • Orchestrating multi-step CI/CD workflows with conditional logic and retries
  • Managing distributed task execution across multiple workers

Dependencies for Deployment

Deployment Dependencies

ItemValue
Docker Imageghcr.io/dagu-org/dagu:latest
Container Port8080
Start Commanddagu start-all
Volume Mount/data/dagu (DAGs, data, logs)
PORT8080
DAGU_HOST0.0.0.0
DAGU_PORT8080
DAGU_HOME/data/dagu
DAGU_AUTH_MODEbasic
DAGU_AUTH_BASIC_USERNAMERequired - admin username
DAGU_AUTH_BASIC_PASSWORDRequired - admin password

Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated Mar ’26]
Prefect [Mar ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo