Skip to content

feat(docker): add dev override for hot-reload (#1911)#1935

Merged
mrveiss merged 2 commits intoDev_new_guifrom
fix/issue-1911
Mar 20, 2026
Merged

feat(docker): add dev override for hot-reload (#1911)#1935
mrveiss merged 2 commits intoDev_new_guifrom
fix/issue-1911

Conversation

@mrveiss
Copy link
Owner

@mrveiss mrveiss commented Mar 19, 2026

Summary

  • Added docker-compose.override.example.yml template for development
  • Provides live code reloading via volume mounts + uvicorn --reload
  • Exposes debugpy port 5678 for remote debugging
  • Relaxed health check timings for dev startup
  • Added docker-compose.override.yml to .gitignore (dev-local)

Closes #1911

Test plan

  • Copy example to docker-compose.override.yml
  • Run docker compose up -d — verify override is applied
  • Edit backend source — verify uvicorn reloads

@github-actions
Copy link

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

mrveiss added 2 commits March 20, 2026 16:18
Add docker-compose.override.example.yml with volume mounts for live
code reloading, debug ports, and relaxed health checks.
- Added to .gitignore: docker-compose.override.yml (dev-local)
- Fix symlink breakage: recreate autobot_shared symlinks at boot via
  bash -c wrapper (critical for WSL2 where core.symlinks=false)
- Fix pip shadow: run pip install -e autobot-shared at container start
  so bind-mounted changes are reflected immediately
- Add --reload-dir /app/autobot-shared to uvicorn for both services
- Relax dev resource limits (4G backend for debug workloads)
- Clarify debugpy port: add instructions for manual install/enable
- Document frontend limitation: dist/ mount, no HMR, needs npm build
@mrveiss mrveiss merged commit 8ebec0d into Dev_new_gui Mar 20, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant