Source: https://seerepo.com/compare/docker/compose/vs/ory/hydra
Markdown source: https://seerepo.com/compare/docker/compose/vs/ory/hydra.md
Description: compose and hydra share 7 technologies: github.com/moby/moby/client, github.com/sirupsen/logrus, OpenTelemetry, go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/sdk, and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Both are written in Go.

# compose vs hydra

compose and hydra share 7 technologies: github.com/moby/moby/client, github.com/sirupsen/logrus, OpenTelemetry, go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/sdk, and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Both are written in Go.

- [docker/compose](https://seerepo.com/r/docker/compose): Define and run multi-container applications with Docker
- [ory/hydra](https://seerepo.com/r/ory/hydra): Internet-scale OpenID Certified™ OpenID Connect and OAuth2.1 provider that integrates with your user management through headless APIs. Solve OIDC/OAuth2 user cases over night. Consume as a service on Ory Network or self-host. Trusted by OpenAI and many others for scale and security. Written in Go.

## What they share and what sets them apart

- In common: github.com/moby/moby/client, github.com/sirupsen/logrus, OpenTelemetry, go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Only in compose: github.com/containerd/console, go.opentelemetry.io/otel/metric, github.com/compose-spec/compose-go/v2, github.com/moby/moby/api, github.com/containerd/containerd/v2, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
- Only in hydra: net/http, pgx, ristretto, Postgres, github.com/dgraph-io/ristretto/v2, SQLite, github.com/cockroachdb/cockroach-go/v2, MySQL, github.com/gorilla/sessions, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, jsonwebtoken, govalidator, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, github.com/asaskevich/govalidator, go.opentelemetry.io/otel, github.com/jmoiron/sqlx, github.com/lestrrat-go/jwx, github.com/prometheus/client_model, Prometheus, github.com/grpc-ecosystem/go-grpc-prometheus, go.opentelemetry.io/otel/exporters/zipkin

## Side by side

| | compose | hydra |
|---|---|---|
| Size | 90,228 lines written, 223 code files | 114,964 lines written, 487 code files |
| Who writes it | 2.1% of its commits signed by AI. With Claude Code, GitHub Copilot, and Codex | 0.6% of its commits signed by AI. With Claude Code |
| Activity | Last push November 6, 2026, 4,901 commits, 38,620 stars | Last push July 29, 2026, 4,477 commits, 17,649 stars |
| Tests | 204 test files. 63.2% of its code files have a test that imports them | 268 test files. 52.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, compose or hydra?

hydra, with 114,964 lines written; compose has 90,228.

The proof: [ory/hydra's code at commit 4174065](https://github.com/ory/hydra/tree/4174065ffb052799890f7480f5360a877a67ffc1)

### Which has more GitHub stars, compose or hydra?

compose, with 38,620 stars; hydra has 17,649.

The proof: [docker/compose on GitHub](https://github.com/docker/compose)

### Which has more tests, compose or hydra?

hydra, with 268 test files; compose has 204.

The proof: [ory/hydra's code at commit 4174065](https://github.com/ory/hydra/tree/4174065ffb052799890f7480f5360a877a67ffc1)

### Which was updated more recently, compose or hydra?

compose: its last push was on November 6, 2026, and hydra's on July 29, 2026.

The proof: [docker/compose's commits on GitHub](https://github.com/docker/compose/commits)

### Which has more commits signed by AI, compose or hydra?

compose: an AI signed 2.1% of its commits, with Claude Code, GitHub Copilot, and Codex; in hydra, 0.6%.

The proof: [the commits each tool signed in docker/compose](https://seerepo.com/r/docker/compose/ai)

## Sources

- docker/compose: Read on November 6, 2026, at commit 95bbca7 (https://github.com/docker/compose/tree/95bbca758244b94ec03a83911bb040a45b82e3fb)
- ory/hydra: Read on November 6, 2026, at commit 4174065 (https://github.com/ory/hydra/tree/4174065ffb052799890f7480f5360a877a67ffc1)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
