OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

It would be ideal to have a docker compose solution for this with possible ollama example

Open shreelekhat opened this issue 1 year ago • 3 comments

What problem or use case are you trying to solve? THis would be ideal to solve any installation issues.

Describe the UX of the solution you'd like Just a working docker-compose.yaml file with options to edit. May be couple of docker-compose examples.

Do you have thoughts on the technical implementation? Use Docker-COmpose

shreelekhat avatar Aug 18 '24 05:08 shreelekhat

I am using something like

 openhands:
    image: ghcr.io/opendevin/opendevin
    container_name: openhands_container
    restart: unless-stopped
    pull_policy: always
    stdin_open: true
    tty: true
    environment:
      SANDBOX_USER_ID: 1000
      PERSIST_SANDBOX: "true"
      SSH_PASSWORD: passwd
      LLM_API_KEY: "NA"
      LLM_BASE_URL: "Ollama address:11434" 
      WORKSPACE_MOUNT_PATH: /home/user/workspace
    volumes:
      - /home/user/workspace:/opt/workspace_base
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "3000:3000"
    extra_hosts:
      - "host.docker.internal:host-gateway"

PascPeli avatar Aug 21 '24 16:08 PascPeli

version: '3.8'

services: openhands: image: ghcr.io/opendevin/opendevin container_name: openhands_container restart: unless-stopped pull_policy: always stdin_open: true tty: true environment: - SANDBOX_USER_ID=1000 - PERSIST_SANDBOX=true - SSH_PASSWORD=passwd - LLM_API_KEY=NA - LLM_BASE_URL=localhost:11434 - WORKSPACE_MOUNT_PATH=/home/user/workspace volumes: - /home/user/workspace:/opt/workspace_base - /var/run/docker.sock:/var/run/docker.sock ports: - "3000:3000" extra_hosts: - "host.docker.internal:host-gateway"

raymondbernard avatar Aug 27 '24 10:08 raymondbernard

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 27 '24 01:09 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Oct 04 '24 01:10 github-actions[bot]