version: '3'
services:
  openhands-app:
    image: docker.openhands.dev/openhands/openhands:0.62
    container_name: openhands-app
    environment:
      - OPENHANDS_LLM_PROVIDER=openai
      - OPENHANDS_LLM_MODEL=mistralai/devstral-small-2507
      - OPENHANDS_LLM_API_BASE=http://192.168.0.253:1234/v1
      - OPENHANDS_LLM_API_KEY=dummy
      - SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.openhands.dev/openhands/runtime:0.62-nikolaik
      - LOG_ALL_EVENTS=true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ~/openhands_clean:/.openhands
    ports:
      - 3000:3000
    extra_hosts:
      - "host.docker.internal:host-gateway"
