Skip to content

Commit

Permalink
Fix #6056 (#6203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch authored Jan 11, 2025
1 parent 40c52fe commit 1dd6f54
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions compose.yml → docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#

services:
openhands:
build:
Expand All @@ -7,15 +7,16 @@ services:
image: openhands:latest
container_name: openhands-app-${DATE:-}
environment:
- SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.19-nikolaik}
- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234}
- SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik}
#- 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 user
- 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
Expand Down

0 comments on commit 1dd6f54

Please sign in to comment.