Sign inSign up

mancube/dagron-api

By mancube

Updated 7 days ago

dagron auth + management API

Image
0

1.5K

mancube/dagron-api repository overview

dagron API gateway (mancube/dagron-api)

The auth + management API for dagron — username/password login to an HttpOnly JWT session, and the REST surface the console (and your scripts) call.

dagron-api is the front of the stack: it serves the operator console at /, authenticates users, mints a signed session cookie, and serves the workflow/run/schedule management API under /api — one port, one origin, no proxy.

  • Image: mancube/dagron-api — Rust binary on distroless/cc (glibc), runs as nonroot, no shell.
  • Arch: linux/amd64, linux/arm64
  • Binary inside: /usr/local/bin/dagron-api (entrypoint) · Exposes: 8080
  • Datastore: Postgres (DATABASE_URL, shared with the engine)
  • Website: dagron.dev · Source / full docs: github.com/lucheeseng827/dagron · Apache-2.0

Tags

TagNotes
latestnewest release
0.9.1pinned version (= current latest)
0.9floating minor — newest 0.9.x

Pin in production: mancube/dagron-api:0.9.1.

Run

docker run -p 8080:8080 \
  -e DATABASE_URL=postgres://dagron:dagron@postgres:5432/workflow \
  -e DAGRON_JWT_SECRET=replace-with-a-32+char-signing-key \
  -e DAGRON_ADMIN_EMAIL=admin@local \
  -e DAGRON_ADMIN_PASSWORD=replace-with-a-strong-password \
  mancube/dagron-api:0.9.1

Configuration (env)

VarMeaning
DATABASE_URLPostgres connection string (required; same DB as the engine).
PORTlisten port (default 8080).
DAGRON_JWT_SECRETrequired — HS256 signing key for session cookies (≥32 chars).
DAGRON_ADMIN_EMAIL / DAGRON_ADMIN_PASSWORD / DAGRON_ADMIN_NAMEbootstrap admin user, created on first start.
DAGRON_COOKIE_SECUREtrue in production (HTTPS); false for local HTTP.
RUST_LOGlog level (info).

Set a strong DAGRON_JWT_SECRET and admin password before exposing this. Pair with dagron-engine + dagron-frontend, or deploy the whole stack via the Helm chart (oci://registry-1.docker.io/mancube/dagron).

Tag summary

Content type

Image

Digest

sha256:102eb70d3

Size

18.9 MB

Last updated

7 days ago

docker pull mancube/dagron-api