Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Docker docs #25

Merged
merged 8 commits into from
Feb 22, 2024
Merged

Update the Docker docs #25

merged 8 commits into from
Feb 22, 2024

Conversation

gkorland
Copy link
Contributor

@gkorland gkorland commented Feb 22, 2024

  1. Add browser port
  2. Mark Bolt as experimental
  3. Use the latest not edge tag

Summary by CodeRabbit

  • New Features
    • Introduced experimental support for the BOLT protocol in FalkorDB, with a new port (3000) now exposed for BOLT communication.
  • Documentation
    • Updated Docker run commands across documentation to include the new port mapping -p 3000:3000.
    • Updated Docker image version tag from edge to latest in configuration instructions.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 22, 2024
Copy link
Contributor

coderabbitai bot commented Feb 22, 2024

Warning

Rate Limit Exceeded

@gkorland has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 25 minutes and 55 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.

Commits Files that changed from the base of the PR and between dd34e9b and 3078a87.

Walkthrough

The overall change updates FalkorDB's Docker configuration to support a new feature through port 3000, marking the BOLT protocol support as experimental. This adjustment aims at enhancing FalkorDB's functionality by introducing an additional communication port and updating Docker image versions for better configuration and deployment practices.

Changes

File(s) Change Summary
bolt_support.md, index.md Introduced an experimental tag for BOLT protocol and added port 3000 for Docker run command.
configuration.md Updated Docker run commands to include port 3000 mapping and changed Docker image version to latest.

Poem

🐇💻✨
In the land of code and docker files,
A rabbit hopped, fixing bugs for miles.
Port three thousand, now awake,
For BOLT and browser's sake.
"To the latest tag, we leap!" it smiled.
🌟🚀🐾

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link
Contributor

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 39ba403 and 57574a0.
Files selected for processing (3)
  • bolt_support.md (2 hunks)
  • configuration.md (2 hunks)
  • index.md (1 hunks)
Additional comments: 5
bolt_support.md (2)
  • 7-7: The addition of the [EXPERIMENTAL] tag before "BOLT protocol support for FalkorDB" clearly communicates the experimental status of the BOLT protocol support. This is a good practice as it sets the right expectations for users regarding the stability and support of this feature.
  • 18-18: The Docker run command has been updated to expose an additional port, 3000, which is intended for BOLT communication. This change aligns with the PR objectives to enhance accessibility or functionality by exposing a new port. However, it's important to ensure that the documentation elsewhere (if any) that references Docker commands for FalkorDB is also updated to reflect this change.
Verification successful

The corrected script successfully identified instances in the documentation where Docker run commands include the '3000:3000' port mapping. These instances are found in index.md, configuration.md (twice), and bolt_support.md. This confirms that the Docker run command update in bolt_support.md to expose an additional port, 3000, for BOLT communication is consistent with other documentation references. Therefore, the review comment is verified as the documentation elsewhere that references Docker commands for FalkorDB has been updated to reflect this change.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Search for Docker run commands in other documentation files to ensure consistency.
rg "docker run" --type md --exec "grep -Hn '3000:3000'"

Length of output: 472



Script:

#!/bin/bash
# Corrected script to search for Docker run commands including '3000:3000' port mapping in markdown files.
rg "docker run" --type md | grep '3000:3000'

Length of output: 575

index.md (1)
  • 30-30: The Docker run command has been updated to include -p 3000:3000, exposing an additional port for accessing a new service or feature through port 3000. This change is consistent with the PR objectives and enhances the documentation by providing users with the necessary command to try out FalkorDB with the new port configuration. It's crucial to ensure that this change is reflected in all relevant documentation sections to maintain consistency.
configuration.md (2)
  • 14-14: The Docker run command has been updated to expose an additional port, 3000, and to use the latest tag instead of edge. This aligns with the PR objectives to enhance accessibility by exposing a new port and to recommend more stable Docker image versions. It's important to ensure that the latest tag is indeed the preferred choice for users seeking stability over cutting-edge features.
  • 42-42: The Docker run command in the section "When running a docker container" has been similarly updated to expose port 3000 and to use the latest tag. This consistency across different sections of the documentation is good for maintaining clarity and ensuring users have the correct information regardless of where they are reading from. Again, it's crucial to verify that the latest tag is the most appropriate recommendation for users.

Copy link
Contributor

@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.

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 57574a0 and 670ff9d.
Files selected for processing (1)
  • bolt_support.md (2 hunks)
Additional comments: 1
bolt_support.md (1)
  • 7-7: The addition of the [EXPERIMENTAL] tag before "BOLT protocol support for FalkorDB" clearly communicates the experimental status of the BOLT protocol support. This is a good practice as it sets the right expectations for users regarding the stability and reliability of this feature.

bolt_support.md Show resolved Hide resolved
bolt_support.md Show resolved Hide resolved
@@ -27,7 +27,7 @@ FalkorDB is a blazing fast graph database used for low latency & high throughput
Launch an instance using docker, or use our [sandbox](https://cloud.falkordb.com/sandbox)

```sh
docker run -p 6379:6379 -it --rm falkordb/falkordb:latest
docker run -p 6379:6379 -p 3000:3000 -it --rm falkordb/falkordb:latest
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we should specify the UI port (3000) in every example. I think it would be better to collect all of the docker configuration in one place, and have a single example of a docker run which exposes the UI port, all other examples should be kept to a minimum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you should make it easy since you don't know how people will get to page directly from google.

Copy link
Contributor

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 670ff9d and 4108ddf.
Files selected for processing (1)
  • bolt_support.md (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • bolt_support.md

Copy link
Contributor

@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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 4108ddf and dd34e9b.
Files selected for processing (1)
  • bolt_support.md (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • bolt_support.md

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 22, 2024
@swilly22 swilly22 merged commit bf7dfb7 into main Feb 22, 2024
1 check passed
@swilly22 swilly22 deleted the docker-docs branch February 22, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants