mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 03:15:23 +02:00
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
26 lines
720 B
YAML
26 lines
720 B
YAML
# 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: {}
|