Skip to content

feat: add docker-compose configuration for development environment#1836

Draft
gustavobtflores wants to merge 2 commits intokernelci:mainfrom
gustavobtflores:feat/docker-development-environment
Draft

feat: add docker-compose configuration for development environment#1836
gustavobtflores wants to merge 2 commits intokernelci:mainfrom
gustavobtflores:feat/docker-development-environment

Conversation

@gustavobtflores
Copy link
Copy Markdown
Contributor

Closes #1786

@gustavobtflores gustavobtflores self-assigned this Apr 2, 2026
@gustavobtflores gustavobtflores added the Docker Related to a docker setup label Apr 2, 2026
@alanpeixinho
Copy link
Copy Markdown
Contributor

Maybe we could mount our current volume inside the dev container, this way, we would be able to benefit from hot-reload.

@gustavobtflores gustavobtflores force-pushed the feat/docker-development-environment branch from 1a5e5c1 to 218362e Compare April 24, 2026 13:47
WilsonNet and others added 2 commits April 24, 2026 15:15
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
@gustavobtflores gustavobtflores force-pushed the feat/docker-development-environment branch from 218362e to 432b91c Compare April 24, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docker Related to a docker setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a docker-compose-dev file only for development

3 participants