۵۰٪ تخفیف روی همه پلان‌ها، محدود. شروع از $2.48/mo
Dagu

Dagu

Dagu is a self-contained workflow scheduler. YAML-defined cron jobs with DAG dependencies, retries, and a web UI for monitoring. Single Go binary, no database required, runs on a 256 MB VPS. The minimalist Airflow alternative for personal automation and small data pipelines.

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

Access Dagu Web UI

  1. Open your browser and visit: http://<SERVER_IP>:8080/login (HTTP)
  2. Login using credentials stored in: /root/.dagu-credentials

Ports

  • Web UI: 8080
  • gRPC coordinator: 50055 (internal)

Important Paths

System Config:

/usr/local/bin/dagu                # Binary
/etc/dagu/                         # Env directory
/etc/systemd/system/dagu.service   # Systemd service

Service Mode (System-level):

/var/lib/dagu/
├── dags/        # Workflows
├── logs/        # Execution logs
├── data/        # History
├── suspend/     # Pause flags
└── base.yaml    # Shared config

CLI Mode (User-level):

~/.config/dagu/
├── dags/         # Workflows
├── config.yaml   # Configuration
└── base.yaml     # Shared config

~/.local/share/dagu/
├── logs/         # Execution logs
├── data/         # History
└── suspend/      # Pause flags

Service Management

# Check service status
systemctl status dagu

# Start the service
systemctl start dagu

# Stop the service
systemctl stop dagu

# Restart the service
systemctl restart dagu

Basic CLI Usage

# Show help / available commands
dagu --help

# Show installed version
dagu version

# Install Dagu skills (auto-detect supported tools)
dagu ai install

# Install non-interactively (auto-confirm all prompts)
dagu ai install --yes

# Install to a specific skills directory
dagu ai install --skills-dir ~/.agents/skills

# Start a DAG workflow from a file or named workflow
dagu start my-workflow.yaml

# Pass parameters to a DAG (after --)
dagu start my-workflow.yaml -- param1=value1 param2=value2

# Execute a command directly as a DAG step
dagu exec -- python script.py

# Example with arguments
dagu exec -- python script.py --input data.csv

Create Your First Workflow (CLI Mode)

Create the DAGs directory:

mkdir -p ~/.config/dagu/dags

Create a file named hello.yaml (/root/.config/dagu/dags/hello.yaml):

steps:
  - name: hello
    command: echo "Hello from Dagu"

Run the workflow:

dagu start hello

Create Your First Workflow (Web Mode)

Create the workflow file:

vim /var/lib/dagu/dags/hello.yaml

Add the following content:

steps:
  - name: hello
    command: echo "Hello from Dagu"

The workflow will be automatically detected by the running service.

You can trigger it from the web UI.

More in Automation

Related apps.

Deploy Dagu now. از ۲٫۴۸ دلار در ماه.