Files
composes/openhands/compose.yml
T
tiennm99 99f4f8b820 feat: add openhands and opencode-web services
openhands runs each agent session in a container it spawns through the host
docker socket, so the socket is mounted read-write and host.docker.internal is
resolved. No host workspace is exposed.

opencode-web serves the opencode agent as a browser UI. The vendor image ships
only the opencode binary on bare Alpine, so a local Dockerfile adds bash, git,
curl and an ssh client.
2026-09-18 17:04:04 +07:00

16 lines
450 B
YAML

services:
openhands:
image: 'ghcr.io/openhands/openhands:latest'
environment:
- AGENT_SERVER_IMAGE_REPOSITORY=ghcr.io/openhands/agent-server
- AGENT_SERVER_IMAGE_TAG=1.26.0-python
- TZ=Asia/Ho_Chi_Minh
- LOG_ALL_EVENTS=true
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- 'openhands-state:/.openhands'
- '/var/run/docker.sock:/var/run/docker.sock'
volumes:
openhands-state: