feat: add full stack local development environment with docker compos…#699
Open
Yash-Karakoti wants to merge 1 commit into
Open
feat: add full stack local development environment with docker compos…#699Yash-Karakoti wants to merge 1 commit into
Yash-Karakoti wants to merge 1 commit into
Conversation
|
@Yash-Karakoti Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
feat: add full stack local development environment with docker compose (#616)
Description
Fixes #616
This PR introduces a unified, single-command local development environment using Docker Compose. It eliminates the need for contributors to manually install dependencies like PostgreSQL, Redis, Soroban CLI, Node.js, and Python, solving "works on my machine" inconsistencies.
Key Implementations:
docker-compose.ymlto spin up the API server, background workers, webhook dispatcher, PostgreSQL, Redis, Soroban standalone node, ML service, and mobile (Expo).docker-compose.override.ymlwith volume mounts to support instant hot-reloading for the Node.js backend (ts-node-dev) and Expo frontend.depends_onwithservice_healthyconditions so services wait for their database/cache dependencies before booting.docker/seed/seed.sqland a dedicatedseedservice profile to automatically populate 5 plans, 10 users, and 20 invoices..env.examplemapping allCOMPOSE_PORT_*variables to allow developers to easily bypass local port conflicts.scripts/setup.shto validate Docker installation, copy environment variables, and build the images seamlessly (with native Apple Silicon / Rosetta support).README.mdwith the new architecture diagram and local development quick-start guide.Pull Request Checklist
Quality Gates (All must pass before merge)
Additional Requirements
Reviewers
This PR will not be mergeable until all quality gates pass.