mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-15 14:52:05 -05:00
[PR #1031] Add Dagu template #16339
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/1031
Author: @knowsuchagency
Created: 7/14/2026
Status: 🔄 Open
Base:
canary← Head:add-dagu-template📝 Commits (1)
0beb68afeat: add dagu blueprint📊 Changes
4 files changed (+59 additions, -0 deletions)
View changed files
➕
blueprints/dagu/docker-compose.yml(+25 -0)➕
blueprints/dagu/logo.png(+0 -0)➕
blueprints/dagu/meta.json(+19 -0)➕
blueprints/dagu/template.toml(+15 -0)📄 Description
Description
Adds a blueprint for Dagu — a self-contained workflow engine with a Web UI. It's a lighter alternative to Airflow/cron: workflows are defined as DAGs in declarative YAML, and it needs no DBMS or external dependencies.
Pinned to
ghcr.io/dagucloud/dagu:2.10.7(current release).Configuration notes
DAGU_HOST=0.0.0.0— Dagu binds to127.0.0.1by default, so this is required for the reverse proxy to reach it.DAGU_AUTH_MODE=basic) with useradminand a per-deploy password generated via${password:32}. No credentials are hardcoded./var/lib/dagu(DAGs, logs, run history) is kept in a named volume.Testing
Tested against a live Dokploy deployment (raw compose import), and the exact compose file in this PR was verified locally:
Server is starting addr=0.0.0.0:8080./mcp:/api/v1/*and/mcpreturn401 WWW-Authenticate: Basic realm="restricted"without credentials,200with them. (The static SPA shell at/is served unauthenticated, as usual for a SPA — the data plane is what's protected.)/var/lib/dagu/dags/.Format
Follows the blueprint format — service name, folder name, and
meta.jsonidare alldagu; compose is v3.8 with noports/container_name/custom networks; per-blueprintmeta.jsononly (no rootmeta.jsontouched).Validators run, all passing:
node build-scripts/generate-meta.js --check→490 templates validatedtsx build-scripts/validate-template.ts --dir blueprints/dagu→ validtsx build-scripts/validate-docker-compose.ts --file blueprints/dagu/docker-compose.yml→ validLogo
Dagu publishes no official SVG (only raster art), so
logo.pngis the official logo from dagu.sh, resized to 512x512 with transparency preserved (~8 KB) — matching the existinglogo.pngconvention used by most blueprints.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.