feat: add docker-compose configuration for development environment#1836
Draft
gustavobtflores wants to merge 2 commits intokernelci:mainfrom
Draft
feat: add docker-compose configuration for development environment#1836gustavobtflores wants to merge 2 commits intokernelci:mainfrom
gustavobtflores wants to merge 2 commits intokernelci:mainfrom
Conversation
Contributor
|
Maybe we could mount our current volume inside the dev container, this way, we would be able to benefit from hot-reload. |
1a5e5c1 to
218362e
Compare
Adds docker-compose.dev.yml for local development with automatic live reload for both backend and frontend. No changes to existing files. - docker-compose.dev.yml: standalone dev stack (Django runserver + Vite HMR) using the same env file conventions as production - dashboard/Dockerfile.dev: lightweight node image running pnpm dev with src/ and public/ mounted for HMR - proxy/etc/nginx/templates/dev.conf.template: dev nginx config that proxies / to Vite (with WebSocket upgrade for HMR) instead of serving static files - docs/dev-environment.md: contributor docs covering setup, live reload mechanics, migration workflow, edge cases (syntax errors, stale pyc, deleted files, circular imports, package.json changes), and the Docker Desktop inode caveat with workarounds - extend inode caveat to cover macOS and add OrbStack as workaround - remove redundant --build from initial setup command - clarify when --build is needed and what it does - add Swagger UI and ReDoc links to dev environment doc - expose postgres port 5432 and document SQL client connection
218362e to
432b91c
Compare
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.
Closes #1786