Skip to content

Enhancement: Docker compose missing dev override file — no hot-reload for development #1911

@mrveiss

Description

@mrveiss

Problem

`docker-compose.override.yml` is listed as a deliverable in #1809 but has not been created yet.

Without it, developers must rebuild containers for every code change. The override should provide:

  • Volume mounts for live code reloading (backend + SLM source directories)
  • Uvicorn `--reload` flag for auto-restart on file changes
  • Debug port exposure (e.g., debugpy on 5678)
  • Relaxed health check timings for slower startup in dev

Expected file

`docker-compose.override.yml`:
```yaml
services:
autobot-backend:
volumes:
- ./autobot-backend:/app/autobot-backend
- ./autobot-shared:/app/autobot-shared
command: ["python3.12", "-m", "uvicorn", "main:app",
"--host", "0.0.0.0", "--port", "8000",
"--reload", "--app-dir", "/app/autobot-backend"]
environment:
- AUTOBOT_ENVIRONMENT=development

autobot-slm:
volumes:
- ./autobot-slm-backend:/app/autobot-slm-backend
- ./autobot-shared:/app/autobot-shared
command: ["python3.12", "-m", "uvicorn", "main:app",
"--host", "0.0.0.0", "--port", "8000",
"--reload", "--app-dir", "/app/autobot-slm-backend"]
environment:
- AUTOBOT_ENVIRONMENT=development
```

Discovered During

Reviewing Docker containerization work on #1809 (checklist item)

Impact

Severity: medium — Development workflow friction. Not a runtime bug, but significantly slows Docker-based development.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions