
Deploy dagu
Deploy and Host dagu with Railway
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
| Item | Value |
|---|---|
| Docker Image | ghcr.io/dagu-org/dagu:latest |
| Container Port | 8080 |
| Start Command | dagu start-all |
| Volume Mount | /data/dagu (DAGs, data, logs) |
PORT | 8080 |
DAGU_HOST | 0.0.0.0 |
DAGU_PORT | 8080 |
DAGU_HOME | /data/dagu |
DAGU_AUTH_MODE | basic |
DAGU_AUTH_BASIC_USERNAME | Required - admin username |
DAGU_AUTH_BASIC_PASSWORD | Required - admin password |
Template Content
