Skip to content

Disable Kibana Service Temporarily#14

Open
vanitha1822 wants to merge 1 commit intomainfrom
nd/vs/hide_kibana
Open

Disable Kibana Service Temporarily#14
vanitha1822 wants to merge 1 commit intomainfrom
nd/vs/hide_kibana

Conversation

@vanitha1822
Copy link
Copy Markdown
Member

@vanitha1822 vanitha1822 commented Feb 24, 2026

📋 Description

JIRA ID:

N/A


✅ Type of Change

  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

Summary by CodeRabbit

Release Notes

  • Chores
    • Kibana service has been disabled from the local development environment setup.

@vanitha1822 vanitha1822 requested a review from drtechie February 24, 2026 04:16
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 24, 2026

📝 Walkthrough

Walkthrough

The kibana service definition in the docker-compose.yml file has been commented out, disabling its deployment while preserving the configuration as a reference. All other services and infrastructure definitions remain unchanged.

Changes

Cohort / File(s) Summary
Kibana Service Disabled
amrit-local-setup/docker-compose.yml
Kibana service block commented out; image, container name, environment, ports, networks, dependencies, and healthcheck no longer active. Networks and volumes sections unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Hoppy news from the warren below,
Kibana's tucked in, a cozy tableau,
Comments protect what once did run,
Docker compose simplified—one less one!

🚥 Pre-merge checks | ✅ 3
✅ 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 accurately describes the main change in the pull request: disabling the Kibana service by commenting it out in the docker-compose.yml file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nd/vs/hide_kibana

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
amrit-local-setup/docker-compose.yml (1)

9-9: ⚠️ Potential issue | 🟠 Major

Hardcoded plaintext credentials in a committed file.

MYSQL_ROOT_PASSWORD, MONGO_INITDB_ROOT_PASSWORD, and ELASTIC_PASSWORD are all stored in plaintext. Even for a local-setup compose file, committing static passwords creates a risk surface (credential reuse, accidental promotion to non-local environments).

Consider replacing them with environment variable references backed by a .env file (git-ignored):

🔒 Proposed fix: use a `.env` file for secrets

.env (add to .gitignore):

MYSQL_ROOT_PASSWORD=1234
MONGO_ROOT_PASSWORD=1234
ELASTIC_PASSWORD=piramalES
-      MYSQL_ROOT_PASSWORD: 1234
+      MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
-      MONGO_INITDB_ROOT_PASSWORD: 1234
+      MONGO_INITDB_ROOT_PASSWORD: ${MONGO_ROOT_PASSWORD}
-      - ELASTIC_PASSWORD=piramalES
+      - ELASTIC_PASSWORD=${ELASTIC_PASSWORD}

Also applies to: 36-36, 57-57

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@amrit-local-setup/docker-compose.yml` at line 9, The docker-compose.yml
currently contains hardcoded credentials (MYSQL_ROOT_PASSWORD,
MONGO_INITDB_ROOT_PASSWORD, ELASTIC_PASSWORD); update docker-compose.yml to
reference environment variables (e.g. ${MYSQL_ROOT_PASSWORD},
${MONGO_INITDB_ROOT_PASSWORD}, ${ELASTIC_PASSWORD}) instead of literal values,
add a .env file (git-ignored) containing those secrets for local use (e.g.
MYSQL_ROOT_PASSWORD=..., MONGO_INITDB_ROOT_PASSWORD=..., ELASTIC_PASSWORD=...)
and add .env to .gitignore so credentials are not committed; ensure any other
occurrences (mentioned lines around the file) are similarly switched to the env
variable references and remove the plaintext values from the repository.
🧹 Nitpick comments (1)
amrit-local-setup/docker-compose.yml (1)

79-99: Add a tracking comment so "temporary" doesn't become permanent.

The PR description and commit message both say this is temporary, but there is no in-file reminder or linked ticket pointing back to when/why to re-enable Kibana.

📝 Suggested tracking comment
-  # kibana:
+  # TODO: Re-enable kibana when observability dashboards are needed again.
+  # Ref: <JIRA-ticket-or-GitHub-issue-link>
+  # kibana:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@amrit-local-setup/docker-compose.yml` around lines 79 - 99, Add a short
tracking comment above the commented-out kibana service block (the kibana:
commented section) that marks this as temporary, references a ticket/issue ID or
PR number, the author and date, and an intended revisit timeframe or condition
for re-enabling (e.g., "re-enable when XYZ ticket resolved" or date). Place it
immediately above the kibana: commented block so future readers see why it’s
disabled and how/when to restore it.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@amrit-local-setup/docker-compose.yml`:
- Line 9: The docker-compose.yml currently contains hardcoded credentials
(MYSQL_ROOT_PASSWORD, MONGO_INITDB_ROOT_PASSWORD, ELASTIC_PASSWORD); update
docker-compose.yml to reference environment variables (e.g.
${MYSQL_ROOT_PASSWORD}, ${MONGO_INITDB_ROOT_PASSWORD}, ${ELASTIC_PASSWORD})
instead of literal values, add a .env file (git-ignored) containing those
secrets for local use (e.g. MYSQL_ROOT_PASSWORD=...,
MONGO_INITDB_ROOT_PASSWORD=..., ELASTIC_PASSWORD=...) and add .env to .gitignore
so credentials are not committed; ensure any other occurrences (mentioned lines
around the file) are similarly switched to the env variable references and
remove the plaintext values from the repository.

---

Nitpick comments:
In `@amrit-local-setup/docker-compose.yml`:
- Around line 79-99: Add a short tracking comment above the commented-out kibana
service block (the kibana: commented section) that marks this as temporary,
references a ticket/issue ID or PR number, the author and date, and an intended
revisit timeframe or condition for re-enabling (e.g., "re-enable when XYZ ticket
resolved" or date). Place it immediately above the kibana: commented block so
future readers see why it’s disabled and how/when to restore it.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a1a701c and 94af0e4.

📒 Files selected for processing (1)
  • amrit-local-setup/docker-compose.yml

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.

1 participant