Deploy dagu

Dagu 2.17: workflow engine with a web UI for YAML DAGs and cron jobs.

Deploy dagu

Just deployed

/var/lib/dagu

Deploy and Host Dagu on Railway

Dagu is a workflow engine with a web UI. You describe jobs as simple YAML files, with steps, dependencies, schedules, retries and parameters, and Dagu runs them, shows live logs and keeps the run history. It is a lighter alternative to Airflow or plain cron for scripts, data jobs and operations tasks.

About Hosting Dagu

This template runs the official ghcr.io/dagucloud/dagu:2.17.0 image as one service. Built-in authentication is on: an admin user is created on first boot from the variables, and the API and UI reject requests without a valid login. DAG files, run history, logs and users live on a Railway volume, so everything survives redeploys. The start command hands the volume to the dagu user, so the server runs as UID 1000. Steps run inside this container, so install any tools your scripts need, or call other services over Railway's private network. The service needs about 100 MB of memory plus whatever your jobs use.

Common Use Cases

  • Scheduling scripts and cron jobs with logs and retries in one place
  • Small data pipelines built from shell, Python or HTTP steps
  • Operations runbooks that teammates can trigger from a web UI

Dependencies for Dagu Hosting

  • ghcr.io/dagucloud/dagu:2.17.0 (official image)
  • A Railway volume at /var/lib/dagu

Deployment Dependencies

Implementation Details

ServiceSourceNetworkingStorage
dagughcr.io/dagucloud/dagu:2.17.0public domain on 8080volume at /var/lib/dagu
VariableDefaultPurpose
DAGU_AUTH_MODEbuiltinLogin with users stored by Dagu
DAGU_AUTH_BUILTIN_INITIAL_ADMIN_USERNAMEadminAdmin created on first boot
DAGU_AUTH_BUILTIN_INITIAL_ADMIN_PASSWORDgeneratedIts password
DAGU_AUTH_BUILTIN_TOKEN_SECRETgeneratedSigns login tokens
DAGU_TZUTCTime zone for schedules

Notes:

  • The REST API lives under /api/v1; get a token from POST /api/v1/auth/login.
  • The image does not include Docker, so docker executor steps will not work on Railway.

This is a community-maintained deployment package and does not imply affiliation with or endorsement by the Dagu project.

Why Deploy Dagu 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 Dagu 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.


Template Content

More templates in this category

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

jakemerson
120
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

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

Railway Templates
870