|
|
|
services:
|
|
openhands:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./containers/app/Dockerfile
|
|
image: openhands:latest
|
|
container_name: openhands-app-${DATE:-}
|
|
environment:
|
|
- SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.20-nikolaik}
|
|
|
|
- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}
|
|
ports:
|
|
- "3000:3000"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ~/.openhands-state:/.openhands-state
|
|
- ${WORKSPACE_BASE:-$PWD/workspace}:/opt/workspace_base
|
|
pull_policy: build
|
|
stdin_open: true
|
|
tty: true
|
|
|