CoolFace
Apppublic

Backup-bdg/OpenHands

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
docker-compose.yml24 linesDownload Raw Back to root
1 2services:3  openhands:4    build:5      context: ./6      dockerfile: ./containers/app/Dockerfile7    image: openhands:latest8    container_name: openhands-app-${DATE:-}9    environment:10      - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik}11      #- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234} # enable this only if you want a specific non-root sandbox user but you will have to manually adjust permissions of openhands-state for this user12      - WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}13    ports:14      - "3000:3000"15    extra_hosts:16      - "host.docker.internal:host-gateway"17    volumes:18      - /var/run/docker.sock:/var/run/docker.sock19      - ~/.openhands-state:/.openhands-state20      - ${WORKSPACE_BASE:-$PWD/workspace}:/opt/workspace_base21    pull_policy: build22    stdin_open: true23    tty: true24