Skip to content

build: add restart policy in docker compose file#76

Merged
osm-vishnukyatannawar merged 4 commits intomainfrom
build/docker-compose-restart
Jun 24, 2025
Merged

build: add restart policy in docker compose file#76
osm-vishnukyatannawar merged 4 commits intomainfrom
build/docker-compose-restart

Conversation

@kshitij-k-osmosys
Copy link
Contributor

@kshitij-k-osmosys kshitij-k-osmosys commented Jun 16, 2025

API PR Checklist

Task Link

Osmosys Developers must include the Pinestem task link in the PR.

REST-1545

Pre-requisites

  • I have gone through the Contributing guidelines for Submitting a Pull Request (PR) and ensured that this is not a duplicate PR.
  • I have performed preliminary unit testing.
  • I have updated the required api docs as applicable.
  • I have added/updated test cases to the test suite as applicable

PR Details

PR details have been updated as per the given format (see below)

  • PR title adheres to the format specified in guidelines (e.g., feat: add admin login endpoint)
  • Description has been added
  • Related changes have been added (optional)
  • Screenshots have been added (optional)
  • Query request and response examples have been added (as applicable, in case added or updated)
  • Documentation changes have been listed (as applicable)
  • Test suite output is added (as applicable)
  • Pending actions have been added (optional)
  • Any other additional notes have been added (optional)

Additional Information

  • Appropriate label(s) have been added (ready for review should be added if the PR is ready to be reviewed)
  • Assignee(s) and reviewer(s) have been added (optional)

Description:

Add key restart: unless-stopped for docker-compose yaml files

Summary by CodeRabbit

  • Chores
    • Updated Docker Compose configurations to ensure API and Portal services automatically restart if stopped or crashed, improving service availability.

@kshitij-k-osmosys kshitij-k-osmosys self-assigned this Jun 16, 2025
@kshitij-k-osmosys kshitij-k-osmosys added the Ready for review Ready for review label Jun 16, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 16, 2025

Warning

Rate limit exceeded

@kshitij-k-osmosys has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 13 minutes and 49 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

Reviewing files that changed from the base of the PR and between 36fbf1d and 5c1ac7d.

📒 Files selected for processing (1)
  • apps/portal/docker-compose.yml (1 hunks)

Walkthrough

The Docker Compose configurations for the API and portal services were updated to include restart policies. The API service now uses restart: unless-stopped, while the portal service uses restart: always, both ensuring automatic container restarts under specified conditions.

Changes

File(s) Change Summary
apps/api/docker-compose.yml Added restart: unless-stopped to the transcript-summarizer-api service.
apps/portal/docker-compose.yml Added restart: always to the osmosys-transcript-summarizer-portal service.

Suggested labels

dependencies

Poem

The Docker bunnies hop with cheer,
Restarting containers far and near!
Unless stopped or always on,
They keep the services strong and drawn.
With every bounce, uptime’s bright—
Our systems hum both day and night!
🐇⚙️✨


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
🪧 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>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • 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 explain this code block.
    • @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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@kshitij-k-osmosys kshitij-k-osmosys changed the title build: add restart key in docker compose file build: add restart policy in docker compose file Jun 16, 2025
@kshitij-k-osmosys kshitij-k-osmosys changed the title build: add restart policy in docker compose file build: add restart policy in docker-compose.yaml Jun 16, 2025
@kshitij-k-osmosys kshitij-k-osmosys changed the title build: add restart policy in docker-compose.yaml build: add restart policy in docker compose file Jun 16, 2025
@osm-vishnukyatannawar osm-vishnukyatannawar merged commit 171bc8d into main Jun 24, 2025
6 checks passed
@osm-vishnukyatannawar osm-vishnukyatannawar deleted the build/docker-compose-restart branch June 24, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for review Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants