Draft
Add sizing comments to all samples with database services#488
Conversation
Co-authored-by: lionello <591860+lionello@users.noreply.github.com>
Co-authored-by: lionello <591860+lionello@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add sizing comment to all samples with DB
Add sizing comments to all samples with database services
Oct 3, 2025
lionello
approved these changes
Oct 7, 2025
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
This PR adds resource sizing reminder comments to all database services across the samples repository to help users understand they should adjust resource limits as needed for their deployments.
Problem
Database services in compose files lacked guidance on resource sizing, which could lead to out-of-memory errors or suboptimal performance in production deployments. Users needed clear reminders to configure appropriate resource reservations for their database containers.
Solution
Added standardized commented
deployblocks to all database services (Redis, PostgreSQL, MongoDB, MySQL) with placeholder resource reservations:Changes Made
Implementation Details
redis-service,postgres-service)deployblocks where already present (nounly, rails, svelte-mysql, sveltekit-mongodb)Verification
This change provides clear guidance to users about resource configuration while maintaining backward compatibility with existing deployments.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Samples Checklist
✅ All good!