mirror of
https://github.com/dagucloud/dagu.git
synced 2026-12-05 05:32:51 +00:00
Docker Assets
This directory hosts Docker-centric deployment assets for Dagu.
compose.minimal.yaml– lightweight stack with scheduler, worker, and UI for local experiments.compose.prod.yaml– production-like stack including OpenTelemetry collector and Prometheus.otel-collector.yaml– default collector configuration used bycompose.prod.yaml.prometheus.yaml– scrape configuration paired with the production-like compose stack.
Run examples from the repository root:
docker build -f Dockerfile.dev -t dagu:dev .
docker build -f Dockerfile.alpine -t dagu:alpine .
docker compose -f deploy/docker/compose.minimal.yaml up -d
The standard Ubuntu image includes CA certificates and common runtime utilities such as curl, git, jq, the OpenSSH client, and unzip. The Alpine image remains minimal, while the development image includes the broader build and language toolchain.
The Compose stacks mount deploy/docker/dags/ read-write so Dagu can seed first-run examples and save DAG edits. Add :ro to that mount only when using immutable DAG sources.