mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 03:15:23 +02:00
feat: add dagu blueprint
Dagu is a self-contained workflow engine with a Web UI for scheduling and orchestrating jobs as DAGs defined in declarative YAML. - Pin ghcr.io/dagucloud/dagu:2.10.7 and expose the Web UI on port 8080 - Set DAGU_HOST=0.0.0.0 so the service is reachable through the proxy - Enable basic auth with a generated per-deploy admin password - Persist /var/lib/dagu (DAGs, logs, run history) in a named volume Claude-Session: https://claude.ai/code/session_01CRNT6sa2q2P9rUTokeoGhQ
This commit is contained in:
25
blueprints/dagu/docker-compose.yml
Normal file
25
blueprints/dagu/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Access the Dagu Web UI at the assigned domain.
|
||||
# Sign in with the basic auth credentials from your .env file (default user: admin).
|
||||
# Place your DAG definitions (YAML) in the dags directory via the Web UI or the API.
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
dagu:
|
||||
image: ghcr.io/dagucloud/dagu:2.10.7
|
||||
command: dagu start-all
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 8080
|
||||
volumes:
|
||||
- dagu-data:/var/lib/dagu
|
||||
environment:
|
||||
# Dagu binds to 127.0.0.1 by default; 0.0.0.0 is required to reach it
|
||||
- DAGU_HOST=0.0.0.0
|
||||
- DAGU_PORT=8080
|
||||
- DAGU_AUTH_MODE=basic
|
||||
- DAGU_AUTH_BASIC_USERNAME=${ADMIN_USERNAME}
|
||||
- DAGU_AUTH_BASIC_PASSWORD=${ADMIN_PASSWORD}
|
||||
|
||||
volumes:
|
||||
dagu-data: {}
|
||||
BIN
blueprints/dagu/logo.png
Normal file
BIN
blueprints/dagu/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 KiB |
19
blueprints/dagu/meta.json
Normal file
19
blueprints/dagu/meta.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"id": "dagu",
|
||||
"name": "Dagu",
|
||||
"version": "2.10.7",
|
||||
"description": "Dagu is a self-contained workflow engine with a Web UI. Schedule and orchestrate jobs as DAGs defined in declarative YAML, with no DBMS required.",
|
||||
"logo": "logo.png",
|
||||
"links": {
|
||||
"github": "https://github.com/dagucloud/dagu",
|
||||
"website": "https://dagu.sh",
|
||||
"docs": "https://docs.dagu.sh"
|
||||
},
|
||||
"tags": [
|
||||
"workflow",
|
||||
"automation",
|
||||
"scheduler",
|
||||
"cron",
|
||||
"devops"
|
||||
]
|
||||
}
|
||||
15
blueprints/dagu/template.toml
Normal file
15
blueprints/dagu/template.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
admin_password = "${password:32}"
|
||||
|
||||
[config]
|
||||
mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "dagu"
|
||||
port = 8080
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
ADMIN_USERNAME = "admin"
|
||||
ADMIN_PASSWORD = "${admin_password}"
|
||||
Reference in New Issue
Block a user