Repository navigation
feat(infra): add lightweight Docker Compose quickstart - #616
Merged
Merged
Conversation
Add a root docker-compose.yml that boots PostgreSQL 16.15-alpine, a single-broker KRaft Apache Kafka 4.3.1 cluster and the GraalVM native Kates API (ghcr.io/bmscomp/kates:1-native, which bundles the kates CLI) in ~8 s cached and ~433 MiB idle RAM with no Kind or Kubernetes required. Document the 60-second Docker Compose evaluation path in README.md alongside the multi-zone Kind lab, and assert the Compose Kafka and PostgreSQL image pins in scripts/check-versions.sh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docker-compose.ymlat the repository root for zero-Kubernetes local evaluation on macOS and Linux (amd64/arm64): startspostgres:16.15-alpine, single-broker KRaftapache/kafka:4.3.1andghcr.io/bmscomp/kates:1-native(which bundles/usr/local/bin/kates), bound strictly to127.0.0.1:8080with single-broker workload defaults (RF=1,min.insync.replicas=1) andhost.docker.internalhost-gateway support.README.mdunder Quick start with a 60-second zero-clone Docker Compose path right above the multi-zone Kind lab, keeping all existing section anchors intact.scripts/check-versions.shand.github/workflows/ci.ymlso the Composeapache/kafkaandpostgrestags stay pinned toversions.env(STRIMZI_KAFKA_VERSION) andcharts/kates/values.yaml(postgresql.image.tag).Verification
amd64/arm64native):docker stats --no-stream: 433 MiB total RAM at idle (postgres30 MiB,kafka337 MiB,katesnative 66 MiB) and 738 MiB after runningLOAD,INTEGRITY,ROUND_TRIP,kates gate(Grade B, 299.5k rec/s, P99 15.9 ms) andkates security audit(46 CIS checks, Grade D).docker-compose.ymlin an isolated temp directory) and host CLI connectivity onhttp://127.0.0.1:8080.docker compose config -q,yamllint,shellcheck,actionlint,./scripts/check-versions.sh,./scripts/check-book-style.sh,./scripts/check-mermaid.sh --quietandlychee --offline --include-fragments.