Skip to content

build: add seq-ui docker-compose#125

Merged
forshev merged 1 commit into
mainfrom
0-qickstart-seq-ui-compose
Sep 10, 2025
Merged

build: add seq-ui docker-compose#125
forshev merged 1 commit into
mainfrom
0-qickstart-seq-ui-compose

Conversation

@forshev
Copy link
Copy Markdown
Collaborator

@forshev forshev commented Sep 10, 2025

Description

Add docker-compose file to launch seq-db alongside seq-ui


  • I have read and followed all requirements in CONTRIBUTING.md;
  • I used LLM/AI assistance to make this pull request;

If you have used LLM/AI assistance please provide model name and full prompt:

Model: {{model-name}}
Prompt: {{prompt}}

Summary by CodeRabbit

  • New Features

    • Introduced a ready-to-run docker-compose stack for Seq UI (UI, DB proxy, DB store, and MinIO) to simplify local setup.
    • Added a default configuration enabling connectivity, timeouts, keepalive, and sensible limits for search, export, and aggregations.
  • Chores

    • Updated MinIO image to minio/minio:latest in quickstart to ensure compatibility and latest fixes.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.54%. Comparing base (1db10d6) to head (ba3f7c6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
+ Coverage   71.47%   71.54%   +0.06%     
==========================================
  Files         201      201              
  Lines       18167    18167              
==========================================
+ Hits        12985    12997      +12     
+ Misses       4461     4451      -10     
+ Partials      721      719       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Sep 10, 2025

📝 Walkthrough

Walkthrough

Adds Seq UI quickstart: a new UI config, a docker-compose stack (seq-ui, seq-db-proxy, seq-db-store, minio), and updates the existing quickstart docker-compose to use the minio/minio:latest image.

Changes

Cohort / File(s) Summary
Seq UI quickstart setup
quickstart/config.seq-ui.yaml, quickstart/docker-compose.seq-ui.yaml
Introduces Seq UI configuration (HTTP/gRPC/debug endpoints, seq-db client/proxy settings, handler limits) and a compose stack wiring seq-ui to seq-db-proxy/store and MinIO.
MinIO image update
quickstart/docker-compose.yaml
Changes MinIO image from quay.io/minio/minio to minio/minio:latest; no other alterations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • ssnd
  • dkharms

Pre-merge checks (3 passed)

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title “build: add seq-ui docker-compose” directly reflects the main change—introducing a Docker Compose configuration for the Seq UI—and is concise and specific without extraneous detail.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 0-qickstart-seq-ui-compose

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (7)
quickstart/config.seq-ui.yaml (2)

6-13: Service address wiring is correct; consider allowing multiple backends.

seq_db_addrs is a list but only one address is provided. If you plan to demo proxy failover/sharding later, consider adding commented examples to clarify usage.


18-24: Quickstart-safe limits: add a brief note to prevent prod copy-paste.

The search/export ceilings are generous for local use. Add a comment that these are not production defaults to avoid accidental reuse.

   seq_api:
+    # NOTE: Quickstart/demo limits. Tune down for production.
     seq_cli_max_search_limit: 10000
     max_search_limit: 1000
     max_search_total_limit: 100000
     max_search_offset_limit: 100000
     max_export_limit: 10000
quickstart/docker-compose.seq-ui.yaml (5)

7-9: Potential port collisions with the other quickstart compose.

This stack exposes 5555–5557, and the proxy exposes 9002/9004/9200; MinIO is 9000/9001. The existing quickstart/docker-compose.yaml uses overlapping 900x ports. Running both stacks together will fail. Consider a note in README or offset these ports here.


11-11: Trailing spaces flagged by yamllint.

Line 11 has trailing whitespace. Please strip to keep CI linters happy.


26-26: Another trailing space.

Line 26 has trailing whitespace. Remove it.


20-22: Expose debug ports only if needed.

Mapping 9200 to the host is handy locally but easy to forget. Consider commenting it out by default with a note.

-      - "9200:9200" # Default debug port
+#      - "9200:9200" # Debug port (uncomment for troubleshooting)

1-45: Optional: add restart policy for resilience.

For a smoother quickstart experience, add restart: unless-stopped to each service.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1db10d6 and ba3f7c6.

📒 Files selected for processing (3)
  • quickstart/config.seq-ui.yaml (1 hunks)
  • quickstart/docker-compose.seq-ui.yaml (1 hunks)
  • quickstart/docker-compose.yaml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.37.1)
quickstart/docker-compose.seq-ui.yaml

[error] 11-11: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: test
🔇 Additional comments (3)
quickstart/docker-compose.yaml (1)

28-28: Pin MinIO image instead of using latest

Both quickstart/docker-compose.yaml (line 28) and quickstart/docker-compose.seq-ui.yaml (line 38) reference minio/minio:latest; pin to a known-stable release tag (e.g. RELEASE.<version>) or digest (@sha256:<digest>). Confirm which MinIO version or digest you’d like to use.

quickstart/config.seq-ui.yaml (2)

1-4: Ports align with compose exposure — looks good.

HTTP/grpc/debug ports match the seq-ui service mappings in docker-compose.seq-ui.yaml.


12-15: Keepalive params: double-check server compatibility.

permit_without_stream: true with 10s/10s may cause frequent pings. Fine for quickstart, but verify the server’s keepalive policy to avoid unexpected disconnects.

Comment thread quickstart/docker-compose.seq-ui.yaml
Comment thread quickstart/docker-compose.seq-ui.yaml
Comment thread quickstart/docker-compose.seq-ui.yaml
Comment thread quickstart/docker-compose.seq-ui.yaml
@forshev forshev merged commit 08f1a3d into main Sep 10, 2025
9 of 11 checks passed
@forshev forshev deleted the 0-qickstart-seq-ui-compose branch September 10, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants