# Development-specific overrides # Use with: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up services: backend: build: context: ./backend dockerfile: Dockerfile volumes: # Mount source code for hot-reload - ./backend:/app # Don't override the venv - /app/venv environment: - DEBUG=true command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload consent-service: # For development, you might want to use the local binary instead # Uncomment below to mount source and rebuild on changes # volumes: # - ./consent-service:/app environment: - GIN_MODE=debug postgres: ports: - "5432:5432" # Expose for local tools