# Mist — development overlay. # Use: `docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build` # # Differences from prod: # - Builds images locally instead of pulling from GHCR # - Bind-mounts backend src for hot reload (uvicorn --reload) # - Exposes infra ports so you can connect from your host services: postgres: ports: - "5432:5432" redis: ports: - "6379:6379" rabbitmq: ports: - "5672:5672" - "15672:15672" # management UI api: image: mist-backend:dev build: context: ./backend command: [ "uvicorn", "mist.api.app:app", "--host", "0.0.0.0", "--port", "8000", "--reload", ] volumes: - ./backend/src:/app/src worker: image: mist-backend:dev build: context: ./backend # Watch the source tree and restart on changes (celery doesn't auto-reload). # For dev, just restart the container manually after big changes. volumes: - ./backend/src:/app/src admin-web: image: mist-admin-web:dev build: context: ./admin-web volumes: - ./admin-web/src:/app/src